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 a2468e8 + a90bb60 commit c13a580Copy full SHA for c13a580
bpython/cli.py
@@ -1357,7 +1357,7 @@ def p_key(self):
1357
self.write2file()
1358
return ''
1359
1360
- elif self.c == key_dispatch[OPTS.pastebin_key]:
+ elif self.c in key_dispatch[OPTS.pastebin_key]:
1361
self.pastebin()
1362
1363
bpython/keys.py
@@ -40,4 +40,4 @@
40
41
# fill dispatch with function keys
42
for x in xrange(1,13):
43
- key_dispatch['F%s' % str(x)] = 'KEY_F(%s)' % str(x)
+ key_dispatch['F%s' % str(x)] = ('KEY_F(%s)' % str(x),)
0 commit comments