Skip to content

Commit a68a2b6

Browse files
committed
merge (argh)
2 parents 5d8f28b + d8e601f commit a68a2b6

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
@@ -1375,11 +1375,11 @@ def p_key(self):
13751375
self.undo()
13761376
return ''
13771377

1378-
elif self.c == 'KEY_UP': # Cursor Up
1378+
elif self.c in ('KEY_UP', ) + key_dispatch['C-p']: # Cursor Up/C-p
13791379
self.back()
13801380
return ''
13811381

1382-
elif self.c == 'KEY_DOWN': # Cursor Down
1382+
elif self.c in ('KEY_DOWN', ) + key_dispatch['C-n']: # Cursor Down/C-n
13831383
self.fwd()
13841384
return ''
13851385

0 commit comments

Comments
 (0)