This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
A guy named Shironoo found one solution ( which I read in english ) to a problem I’d been having with bpython over SSH. Namely that using the delete key ruins the world , or at least kills the current line. 
 My slightly modified (temporary) solution is to make this change: 
 
 in bpython/cli.py :
 
 in def p_key(self, key): 
 
 replace if platform.system() ==…
A guy named Shironoo found one solution (which I read in english) to a problem I’d been having with bpython over SSH. Namely that using the delete key ruins the world, or at least kills the current line.
My slightly modified (temporary) solution is to make this change:
- in
bpython/cli.py:
- in
def p_key(self, key):
- replace
if platform.system() == 'Windows':
- with
if platform.system() in ('Windows', 'Linux'):
You can find your bpython install with this kinda thing:
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.