Skip to content

Posix pipe inputs might respond to CPR #876

@vxgmichel

Description

@vxgmichel

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:

@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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions