From 9fc1547053e629a630e60abe604c77fdab516aa7 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 22 Oct 2016 15:06:24 +1300 Subject: console: give statusbar messages a default timeout --- mitmproxy/tools/console/statusbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py index 74382677..68b92703 100644 --- a/mitmproxy/tools/console/statusbar.py +++ b/mitmproxy/tools/console/statusbar.py @@ -25,7 +25,7 @@ class ActionBar(urwid.WidgetWrap): self.onekey = False self.pathprompt = False - def sig_message(self, sender, message, expire=None): + def sig_message(self, sender, message, expire=1): if self.prompting: return w = urwid.Text(message) -- cgit v1.2.3