-
Notifications
You must be signed in to change notification settings - Fork 209
Impossible testing with pexpect #594
Copy link
Copy link
Open
Labels
A-EventsArea: Handling of incoming events (e.g. desired keypress not registered)Area: Handling of incoming events (e.g. desired keypress not registered)bugSomething isn't workingSomething isn't working
Description
Platform linux
Terminal software pseudo terminal - python pty
I'm trying to write integration tests of reedline app with python pexpect lib, and, unfortunately, it's fail. Looks like problem in crossterm, but I'm not sure.
Steps to reproduce
This can be reproduced on basic example:
>>> import pexpect
>>> proc = pexpect.spawn("./target/debug/examples/basic")
>>> print(proc.readline())
b'\x1b[6nError: Custom { kind: Other, error: "The cursor position could not be read within a normal duration" }\r\n'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-EventsArea: Handling of incoming events (e.g. desired keypress not registered)Area: Handling of incoming events (e.g. desired keypress not registered)bugSomething isn't workingSomething isn't working