-
Notifications
You must be signed in to change notification settings - Fork 73
crossterm error (via reedline) causes pexpect et al. not to work with brush #230
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
This looks to be the same as nushell/reedline#594.
Looks like reedline calls into crossterm to query the current cursor position; crossterm, in turn, implements that by sending a VT terminal code and waiting a limited period of time for the terminal emulator to detect the code and respond with encoded cursor info. When the duration elapses without a response, as happens with pexpect and other simple terminal "hosts", an error percolates up and brush is unable to proceed.
brush can be run with the basic input backend, but then features like tab completion can't be tested in those environments. Would be great to figure out how to make this work for testing purposes (e.g., to run bash-completion integration test suite).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed