mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Real-time flow counter
This commit is contained in:
parent
f028fb6a01
commit
48cc7c2f70
@ -140,9 +140,10 @@ class StatusBar(urwid.WidgetWrap):
|
||||
signals.flowlist_change.connect(self.sig_update)
|
||||
master.options.changed.connect(self.sig_update)
|
||||
master.view.focus.sig_change.connect(self.sig_update)
|
||||
master.view.sig_view_add.connect(self.sig_update)
|
||||
self.redraw()
|
||||
|
||||
def sig_update(self, sender, updated=None):
|
||||
def sig_update(self, sender, flow=None, updated=None):
|
||||
self.redraw()
|
||||
|
||||
def keypress(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user