We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 910e310 commit d8e601fCopy full SHA for d8e601f
1 file changed
bpython/cli.py
@@ -1373,11 +1373,11 @@ def p_key(self):
1373
self.undo()
1374
return ''
1375
1376
- elif self.c == 'KEY_UP': # Cursor Up
+ elif self.c in ('KEY_UP', ) + key_dispatch['C-p']: # Cursor Up/C-p
1377
self.back()
1378
1379
1380
- elif self.c == 'KEY_DOWN': # Cursor Down
+ elif self.c in ('KEY_DOWN', ) + key_dispatch['C-n']: # Cursor Down/C-n
1381
self.fwd()
1382
1383
0 commit comments