We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b98ff04 + 3ba584e commit 0d2039dCopy full SHA for 0d2039d
1 file changed
bpython/cli.py
@@ -1375,11 +1375,11 @@ def p_key(self):
1375
self.undo()
1376
return ''
1377
1378
- elif self.c == 'KEY_UP': # Cursor Up
+ elif self.c in ('KEY_UP', ) + key_dispatch['C-p']: # Cursor Up/C-p
1379
self.back()
1380
1381
1382
- elif self.c == 'KEY_DOWN': # Cursor Down
+ elif self.c in ('KEY_DOWN', ) + key_dispatch['C-n']: # Cursor Down/C-n
1383
self.fwd()
1384
1385
0 commit comments