From 9322167eeb4ca7b8455f3f223e7fc185c05eaca8 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 30 Oct 2016 18:33:51 +1300 Subject: console: show order option in status bar --- mitmproxy/tools/console/statusbar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py index a1ac4298..b358f711 100644 --- a/mitmproxy/tools/console/statusbar.py +++ b/mitmproxy/tools/console/statusbar.py @@ -181,6 +181,10 @@ class StatusBar(urwid.WidgetWrap): r.append("[") r.append(("heading_key", "M")) r.append(":%s]" % self.master.options.default_contentview) + if self.master.options.order: + r.append("[") + r.append(("heading_key", "o")) + r.append(":%s]" % self.master.options.order) opts = [] if self.master.options.anticache: -- cgit v1.2.3