mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
remove escape character from pexpect.spawn.interact
The default escape character for pexpect.spaw is ctrl-] which conflicts with a vim binding. This isn't an escape sequence that is mirrored in virtualenv, so there doesn't seem to be a good reason to keep it. This will make `pipenv shell` more inline with the standard `virtualenv workon` command.
This commit is contained in:
+1
-1
@@ -1010,7 +1010,7 @@ def shell(three=None, python=False, compat=False, shell_args=None):
|
||||
signal.signal(signal.SIGWINCH, sigwinch_passthrough)
|
||||
|
||||
# Interact with the new shell.
|
||||
c.interact()
|
||||
c.interact(escape_character=None)
|
||||
c.close()
|
||||
sys.exit(c.exitstatus)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user