summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-03 12:32:26 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-03 12:32:26 +0000
commitf12be511bcfa28d9a4bcaa659d30d6f9896b48b6 (patch)
treeb0252a91fe987f60b72e87ce043f20f6e143616d /alot/ui.py
parentfbcec8a2828522a62c1c07877c3448d7a2a011eb (diff)
force screen redraw in UI.update
this fixes an issue with notification messages not being updated correctly.
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/ui.py b/alot/ui.py
index cf44c342..4a6b37fe 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -400,6 +400,9 @@ class UI(object):
self.mainframe.set_footer(urwid.Pile(lines))
else:
self.mainframe.set_footer(None)
+ # force a screen redraw
+ if self.mainloop.screen.started:
+ self.mainloop.draw_screen()
def build_statusbar(self):
"""construct and return statusbar widget"""