mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Use ctrl+f and ctrl+b to scroll a page
This commit is contained in:
parent
65c08ec899
commit
6aa7454f92
@ -96,6 +96,10 @@ def format_keyvals(lst, key="key", val="text", indent=0):
|
||||
def shortcuts(k):
|
||||
if k == " ":
|
||||
k = "page down"
|
||||
elif k == "ctrl f":
|
||||
k = "page down"
|
||||
elif k == "ctrl b":
|
||||
k = "page up"
|
||||
elif k == "j":
|
||||
k = "down"
|
||||
elif k == "k":
|
||||
|
@ -31,6 +31,7 @@ class HelpView(urwid.ListBox):
|
||||
("g, G", "go to beginning, end"),
|
||||
("space", "page down"),
|
||||
("pg up/down", "page up/down"),
|
||||
("ctrl+b/ctrl+f", "page up/down"),
|
||||
("arrows", "up, down, left, right"),
|
||||
]
|
||||
text.extend(
|
||||
|
Loading…
Reference in New Issue
Block a user