mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
parent
387235b580
commit
dfa693ebd3
@ -23,7 +23,7 @@ class EventLog(urwid.ListBox):
|
|||||||
|
|
||||||
def keypress(self, size, key):
|
def keypress(self, size, key):
|
||||||
if key == "z":
|
if key == "z":
|
||||||
self.master.clear_events()
|
self.clear_events()
|
||||||
key = None
|
key = None
|
||||||
elif key == "m_end":
|
elif key == "m_end":
|
||||||
self.set_focus(len(self.walker) - 1)
|
self.set_focus(len(self.walker) - 1)
|
||||||
|
@ -69,7 +69,7 @@ class FlowItem(urwid.WidgetWrap):
|
|||||||
def mouse_event(self, size, event, button, col, row, focus):
|
def mouse_event(self, size, event, button, col, row, focus):
|
||||||
if event == "mouse press" and button == 1:
|
if event == "mouse press" and button == 1:
|
||||||
if self.flow.request:
|
if self.flow.request:
|
||||||
self.master.view_flow(self.flow)
|
self.master.commands.call("console.view.flow @focus")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def keypress(self, xxx_todo_changeme, key):
|
def keypress(self, xxx_todo_changeme, key):
|
||||||
|
Loading…
Reference in New Issue
Block a user