summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-09-03 22:22:06 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-09-03 22:22:06 +0100
commite63d5c9f1275901f93e2ce7ad3bdb09a7703fcc0 (patch)
treec0edf2df51745fee41e739808c906a0486dc6fa4 /alot
parent18a42f6fdab751834699158dc16f6759b0a2d4db (diff)
fix clear the input queue before cmd application
Diffstat (limited to 'alot')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index d973642b..5268752b 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -120,13 +120,13 @@ class UI(object):
keyseq = ' '.join(self.input_queue)
cmdline = settings.get_keybinding(self.mode, keyseq)
if cmdline:
+ clear()
logging.debug("cmdline: '%s'" % cmdline)
# move keys are always passed
if cmdline.startswith('move '):
movecmd = cmdline[5:].rstrip()
logging.debug("GOT MOVE: '%s'" % movecmd)
if movecmd in ['up', 'down', 'page up', 'page down']:
- clear()
return [movecmd]
elif not self._locked:
try: