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:
Nate Prewitt
2017-06-02 10:12:42 -06:00
parent b644668b27
commit df909ccf0d
+1 -1
View File
@@ -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)