diff options
Diffstat (limited to 'libmproxy/console/connlist.py')
-rw-r--r-- | libmproxy/console/connlist.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libmproxy/console/connlist.py b/libmproxy/console/connlist.py index 319963e8..1d34fba9 100644 --- a/libmproxy/console/connlist.py +++ b/libmproxy/console/connlist.py @@ -1,6 +1,21 @@ import urwid import common +def _mkhelp(): + text = [] + keys = [ + ("C", "clear connection list or eventlog"), + ("d", "delete connection from view"), + ("v", "toggle eventlog"), + ("X", "kill and delete connection, even if it's mid-intercept"), + ("tab", "tab between eventlog and connection list"), + ("enter", "view connection"), + ] + text.extend(common.format_keyvals(keys, key="key", val="text", indent=4)) + return text +help_context = _mkhelp() + + class EventListBox(urwid.ListBox): def __init__(self, master): self.master = master |