mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
console: click in flow list to view flow
This commit is contained in:
parent
b5bb4106fd
commit
1076c25e5b
@ -158,6 +158,12 @@ class ConnectionItem(urwid.WidgetWrap):
|
||||
callback = self.master.server_playback_path
|
||||
)
|
||||
|
||||
def mouse_event(self, size, event, button, col, row, focus):
|
||||
if event == "mouse press" and button == 1:
|
||||
if self.flow.request:
|
||||
self.master.view_flow(self.flow)
|
||||
return True
|
||||
|
||||
def keypress(self, xxx_todo_changeme, key):
|
||||
(maxcol,) = xxx_todo_changeme
|
||||
key = common.shortcuts(key)
|
||||
|
Loading…
Reference in New Issue
Block a user