diff --git a/khal/ui/widgets.py b/khal/ui/widgets.py index 568c6af28..d2f6e8cca 100644 --- a/khal/ui/widgets.py +++ b/khal/ui/widgets.py @@ -138,7 +138,7 @@ def keypress(self, size, key): return None if ( - key in ['up', 'down', 'tab', 'shift tab'] or + key in ['up', 'down', 'tab', 'shift tab', 'page up', 'page down'] or (key in ['right'] and self.edit_pos >= len(self.edit_text)) or (key in ['left'] and self.edit_pos == 0)): # when leaving the current Widget we check if currently @@ -436,7 +436,7 @@ def edit_text(self): def keypress(self, size, key): if ( - key in ['up', 'down', 'tab', 'shift tab'] or + key in ['up', 'down', 'tab', 'shift tab', 'page up', 'page down'] or (key in ['right'] and self.edit_pos >= len(self.edit_text)) or (key in ['left'] and self.edit_pos == 0)): if not self._validate():