From f12be511bcfa28d9a4bcaa659d30d6f9896b48b6 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Fri, 3 Feb 2012 12:32:26 +0000 Subject: force screen redraw in UI.update this fixes an issue with notification messages not being updated correctly. --- alot/ui.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alot/ui.py') 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""" -- cgit v1.2.3