summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2013-01-30 17:00:04 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2013-01-30 17:00:04 +0000
commit83443de62709c4f157cef327445ff73ca2c412dc (patch)
treeed03a97c2f4021b3717f8c67c7bd88e25393c44b
parent22b0170fd6176af78fc8d89172cf1ad837bd09bf (diff)
parent0155c5ba8ee6f26826f4a4e6ec083d360317d40d (diff)
Merge branch '0.3.3-fix-556'
-rw-r--r--alot/commands/globals.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 7cdf401e..1cf78ca4 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -243,6 +243,11 @@ class ExternalCommand(Command):
ui.mainloop.screen.stop()
ret = thread_code()
ui.mainloop.screen.start()
+
+ # make sure urwid renders its canvas at the correct size
+ ui.mainloop.screen_size = None
+ ui.mainloop.draw_screen()
+
afterwards(ret)