-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shift + F3 Key Event not read. #513
Comments
I validated it, it seems true that There must be something wrong at one the following places: https://github.com/crossterm-rs/crossterm/blob/master/src/event/sys/unix/parse.rs#L223 I can not see directly where this problem comes from, for that we need to debug and print the ESCAPE CODE |
I understand. Thank you for watching. |
Did some digging into this tonight: The issue seems to stem from the match here: crossterm/src/event/sys/unix/parse.rs Line 162 in f7063d9
On my system at least, Shift + F3 produces a buffer of This matches the CSI for the cursor position, I'm not sure how this can be handled. |
As @MitMaro says, b'R'=> on line 162 is determined first, which seems to be a problem.
If you can avoid duplication of control code for cursor position acquisition, |
Closing in favor of #685. |
Shift + F3 Key Event not read.
Shift + F2 and Shift + F4 are read correctly.
■ Verification environment
・ Ubuntu 20.04
・ Ubuntu20.04 on WSL
・ Ubuntu 18.04
■ Program
Implemented as in the example below.
crossterm/examples/event-stream-tokio.rs
Sorry to trouble you, but please confirm.
The text was updated successfully, but these errors were encountered: