diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2011-01-30 15:31:44 +1300 | 
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2011-01-30 15:31:44 +1300 | 
| commit | 74aa622fdd5db2c75cb1b848e03578665ea6adde (patch) | |
| tree | 58b7fe6a8b3e50e36e71569a13f168bdaf753461 /libmproxy | |
| parent | cf165bc32e370929a2be8b8b528357ea2d063ad7 (diff) | |
| download | mitmproxy-74aa622fdd5db2c75cb1b848e03578665ea6adde.tar.gz mitmproxy-74aa622fdd5db2c75cb1b848e03578665ea6adde.tar.bz2 mitmproxy-74aa622fdd5db2c75cb1b848e03578665ea6adde.zip  | |
Better help page statusbar text.
Diffstat (limited to 'libmproxy')
| -rw-r--r-- | libmproxy/console.py | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py index 6ec244b0..5afe64b3 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -622,7 +622,7 @@ class ConsoleFlow(flow.Flow):                  txt.append(                     ("ack", "!") if self.intercepting and not self.response.acked else " "                  ) -                txt.append("-> ") +                txt.append("<- ")                  if self.response.code in [200, 304]:                      txt.append(("goodcode", str(self.response.code)))                  else: @@ -720,6 +720,9 @@ class ConsoleMaster(controller.Master):          ('key', "?"), ":help ",          ('key', "q"), ":exit ",      ] +    footer_text_help = [ +        ('key', "q"), ":back", +    ]      footer_text_connview = [          ('key', "tab"), ":toggle view ",          ('key', "?"), ":help ", @@ -813,6 +816,7 @@ class ConsoleMaster(controller.Master):          self.view.set_focus("body")      def view_help(self): +        self.statusbar = StatusBar(self, self.footer_text_help)          self.body = self.helptext()          self.header = None          self.viewstate = VIEW_HELP  | 
