aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Weidner <matt.weidner@gmail.com>2017-07-21 13:34:26 -0500
committerMatt Weidner <matt.weidner@gmail.com>2017-07-27 21:11:37 -0500
commite754fe78cd34a380d013520ee915dc17cc3d6e0f (patch)
tree63fdc0532d40b9d97bf297ac9e3419d7bd97db84
parentff9476eaaa083b5ba51c1c1619d4ef6ea57d1907 (diff)
downloadmitmproxy-e754fe78cd34a380d013520ee915dc17cc3d6e0f.tar.gz
mitmproxy-e754fe78cd34a380d013520ee915dc17cc3d6e0f.tar.bz2
mitmproxy-e754fe78cd34a380d013520ee915dc17cc3d6e0f.zip
Changed statusbar indicator to 'X' inside the intercept filter brackets
-rw-r--r--mitmproxy/tools/console/statusbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py
index f0d59639..7628c475 100644
--- a/mitmproxy/tools/console/statusbar.py
+++ b/mitmproxy/tools/console/statusbar.py
@@ -178,9 +178,9 @@ class StatusBar(urwid.WidgetWrap):
r.append(("heading_key", "T"))
r.append("CP:%d]" % len(self.master.options.tcp_hosts))
if self.master.options.intercept:
- if self.master.options.intercept_active:
- r.append("I ")
r.append("[")
+ if not self.master.options.intercept_active:
+ r.append("X")
r.append(("heading_key", "i"))
r.append(":%s]" % self.master.options.intercept)
if self.master.options.view_filter: