diff options
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 5 |
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) |