diff options
-rw-r--r-- | alot/commands/globals.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index f78a50b9..eee6a7c0 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -797,7 +797,11 @@ class MoveCommand(Command): Command.__init__(self, **kwargs) def apply(self, ui): - ui.mainloop.process_input([self.movement]) + if self.movement in ['up', 'down', 'page up', 'page down']: + ui.mainloop.process_input([self.movement]) + else: + ui.notify('unknown movement: ' + self.movement, + priority='error') class CommandSequenceCommand(Command): |