aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-03-15 23:59:04 +0100
committerGitHub <noreply@github.com>2018-03-15 23:59:04 +0100
commitca75e2738ab9f783cb9a4e675e8353b98eb208fc (patch)
tree62894e63cf3803a490d8ba3c7b12a74b83ca0a76
parent2001184b6c373a2a0ea86a9379f8decf3f7912a5 (diff)
parentd9dcf8365b38826166e3a87f2007e4e52f7618f1 (diff)
downloadmitmproxy-ca75e2738ab9f783cb9a4e675e8353b98eb208fc.tar.gz
mitmproxy-ca75e2738ab9f783cb9a4e675e8353b98eb208fc.tar.bz2
mitmproxy-ca75e2738ab9f783cb9a4e675e8353b98eb208fc.zip
Merge pull request #2991 from fenilgandhi/Fix-2990
Removing the erroneously highlighted keybinding
-rw-r--r--mitmproxy/tools/console/statusbar.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py
index d601968e..34bba18d 100644
--- a/mitmproxy/tools/console/statusbar.py
+++ b/mitmproxy/tools/console/statusbar.py
@@ -228,10 +228,8 @@ class StatusBar(urwid.WidgetWrap):
r.append("[")
r.append(("heading_key", "u"))
r.append(":%s]" % self.master.options.stickyauth)
- if self.master.options.console_default_contentview != "auto":
- r.append("[")
- r.append(("heading_key", "M"))
- r.append(":%s]" % self.master.options.console_default_contentview)
+ if self.master.options.console_default_contentview != 'auto':
+ r.append("[contentview:%s]" % (self.master.options.console_default_contentview))
if self.master.options.has_changed("view_order"):
r.append("[")
r.append(("heading_key", "o"))