diff kitten: Add keybindings to scroll by a page

This commit is contained in:
Kovid Goyal
2018-05-24 15:17:03 +05:30
parent 219d3161d9
commit a33ebce3c9
5 changed files with 13 additions and 3 deletions
+2
View File
@@ -258,6 +258,8 @@ text_keys = string.ascii_uppercase + string.ascii_lowercase + string.digits + '`
def text_match(key):
if key.upper() == 'SPACE':
return ' '
if key not in text_keys:
return
return key