console: give statusbar messages a default timeout

This commit is contained in:
Aldo Cortesi 2016-10-22 15:06:24 +13:00
parent 477f8868ad
commit 9fc1547053
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ActionBar(urwid.WidgetWrap):
self.onekey = False self.onekey = False
self.pathprompt = False self.pathprompt = False
def sig_message(self, sender, message, expire=None): def sig_message(self, sender, message, expire=1):
if self.prompting: if self.prompting:
return return
w = urwid.Text(message) w = urwid.Text(message)