diff options
-rw-r--r-- | alot/widgets/globals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py index 1a8688fe..e4253e15 100644 --- a/alot/widgets/globals.py +++ b/alot/widgets/globals.py @@ -167,7 +167,7 @@ class CompleteEdit(urwid.Edit): if self.historypos is None: self.history.append(self.edit_text) self.historypos = len(self.history) - 1 - if key == 'cursor up': + if key == 'up': self.historypos = (self.historypos + 1) % len(self.history) else: self.historypos = (self.historypos - 1) % len(self.history) |