mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
parent
387235b580
commit
dfa693ebd3
@ -23,7 +23,7 @@ class EventLog(urwid.ListBox):
|
||||
|
||||
def keypress(self, size, key):
|
||||
if key == "z":
|
||||
self.master.clear_events()
|
||||
self.clear_events()
|
||||
key = None
|
||||
elif key == "m_end":
|
||||
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):
|
||||
if event == "mouse press" and button == 1:
|
||||
if self.flow.request:
|
||||
self.master.view_flow(self.flow)
|
||||
self.master.commands.call("console.view.flow @focus")
|
||||
return True
|
||||
|
||||
def keypress(self, xxx_todo_changeme, key):
|
||||
|
Loading…
Reference in New Issue
Block a user