mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
add search with / for compatibility with what I'll do.
This commit is contained in:
parent
d6aa7dc22e
commit
359573a764
@ -12,6 +12,7 @@ def _mkhelp():
|
||||
("e", "toggle eventlog"),
|
||||
("F", "toggle follow flow list"),
|
||||
("l", "set limit filter pattern"),
|
||||
("/", "same as above"),
|
||||
("L", "load saved flows"),
|
||||
("r", "replay request"),
|
||||
("V", "revert changes to request"),
|
||||
@ -244,7 +245,7 @@ class FlowListBox(urwid.ListBox):
|
||||
self.master.clear_flows()
|
||||
elif key == "e":
|
||||
self.master.toggle_eventlog()
|
||||
elif key == "l":
|
||||
elif key == "l" or key == "/":
|
||||
self.master.prompt("Limit: ", self.master.state.limit_txt, self.master.set_limit)
|
||||
elif key == "L":
|
||||
self.master.path_prompt(
|
||||
|
Loading…
Reference in New Issue
Block a user