aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/grideditor.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-03-21 12:37:00 +1300
committerAldo Cortesi <aldo@nullcube.com>2015-03-21 12:37:00 +1300
commit381a56306777900153939b1b46f20e63322944c2 (patch)
tree95b32bccebcfdcda3fc5c0b95d75c8c0c7211b34 /libmproxy/console/grideditor.py
parent8725d50d03cf21b37a78c1d2fa03ade055c8a821 (diff)
downloadmitmproxy-381a56306777900153939b1b46f20e63322944c2.tar.gz
mitmproxy-381a56306777900153939b1b46f20e63322944c2.tar.bz2
mitmproxy-381a56306777900153939b1b46f20e63322944c2.zip
Status bar message expiry based on signals and Urwid main loop
Diffstat (limited to 'libmproxy/console/grideditor.py')
-rw-r--r--libmproxy/console/grideditor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py
index 2d2754b1..0b563c52 100644
--- a/libmproxy/console/grideditor.py
+++ b/libmproxy/console/grideditor.py
@@ -132,7 +132,7 @@ class GridWalker(urwid.ListWalker):
errors = self.lst[self.focus][1]
emsg = self.editor.is_error(self.focus_col, val)
if emsg:
- signals.status_message.send(message = emsg, expire = 1000)
+ signals.status_message.send(message = emsg, expire = 1)
errors.add(self.focus_col)
else:
errors.discard(self.focus_col)