summaryrefslogtreecommitdiff
path: root/alot/commands
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-08-31 21:13:34 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-08-31 21:13:34 +0100
commit7da900fec22b4b8a1c839a5cb985b01a47f60dc5 (patch)
tree60153e7d3d3d786b2933e8348bcf41ac8e76f52b /alot/commands
parent15aefb2e5c4bf2b943b5c25aaa18794566289ead (diff)
restart urwid screen as early as possible
.. after external commands that reuse the terminal. cf issue #506
Diffstat (limited to 'alot/commands')
-rw-r--r--alot/commands/globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 9f2f0222..9321cbaa 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -243,8 +243,8 @@ class ExternalCommand(Command):
else:
ui.mainloop.screen.stop()
ret = thread_code()
- afterwards(ret)
ui.mainloop.screen.start()
+ afterwards(ret)
#@registerCommand(MODE, 'edit', arguments=[