- Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
Issue # 5 from this gist
It'd be nice to be able to configure whether a posix pipe input responds to CPR. It is currently forced to False:
python-prompt-toolkit/prompt_toolkit/input/posix_pipe.py
Lines 39 to 41 in 9e3845a
| @property | |
| def responds_to_cpr(self): | |
| return False |
But this pipe might be connected to a vt100 terminal that supports ANSI codes. A good example of that is TelnetConnection.vt100_input:
| self.vt100_input = PosixPipeInput() |
In this context telnet_connection.vt100_input.responds_to_cpr returns False even though CPR is most likely supported.
Also, all the tests seems to pass with PosixPipeInput.responds_to_cpr forced to True instead.
Metadata
Metadata
Assignees
Labels
No labels