We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd47b1 commit 74ef692Copy full SHA for 74ef692
prompt_toolkit/input/vt100.py
@@ -69,6 +69,8 @@ def __init__(self, stdin):
69
def responds_to_cpr(self):
70
# When the input is a tty, we assume that CPR is supported.
71
# It's not when the input is piped from Pexpect.
72
+ if os.environ.get('PROMPT_TOOLKIT_NO_CPR', '') == '1':
73
+ return False
74
return self.stdin.isatty()
75
76
def attach(self, input_ready_callback):
0 commit comments