-
-
Notifications
You must be signed in to change notification settings - Fork 252
<F8> Pastebin can't handle 'ESC' key #123
Copy link
Copy link
Closed
Labels
Description
It appears that, after pressing F8, a confirm message asks you for nopasting buffer.
But this message, which calls the CLIIntercation.confirm method, can't handle non-literal chars, like ESC, F1, F2, F3, ↑, →, ↓, etc. raising ValueError. Down here there's the traceback:
File ".../repl.py", line 681, in pastebin
not self.interact.confirm("Pastebin buffer? (y/N) ")):
File "..../cli.py", line 240, in confirm
return self.statusbar.prompt(q).lower().startswith('y')
File ".../cli.py", line 1422, in prompt
raise ValueError
ValueError
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/123
- Originally Reported By: Michele Orrù
- Originally Created At: 2010-07-03T13:55:59.853
Reactions are currently unavailable