Skip to content

Commit 23f681e

Browse files
sebastinassupakeen
authored andcommitted
Fix check of key code (fixes #859)
1 parent 5d6e6f2 commit 23f681e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,11 +939,11 @@ def p_key(self, key):
939939
# Redraw (as there might have been highlighted parens)
940940
self.print_line(self.s)
941941

942-
elif key in ("KEY_NPAGE"): # page_down
942+
elif key in ("KEY_NPAGE",): # page_down
943943
self.hend()
944944
self.print_line(self.s)
945945

946-
elif key in ("KEY_PPAGE"): # page_up
946+
elif key in ("KEY_PPAGE",): # page_up
947947
self.hbegin()
948948
self.print_line(self.s)
949949

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy