From df909ccf0dac0bf241b96db1b0f54e7de2957122 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 2 Jun 2017 10:12:42 -0600 Subject: [PATCH] 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. --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index f5138670..77a273b8 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -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)