Unable to detect when key is being held down in crossterm
#15124
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Windows Terminal version
1.16.10261.0
Windows build number
10.0.19045.0
Other Software
Crossterm crate https://crates.io/crates/crossterm 0.26.1 latest
Steps to reproduce
Crossterm is a terminal library that recently added the ability to detect when a key is being held down and released.
On both conhost and wezterm this works as intended. In the crate if you run
cargo run --example event-poll-read
in both of these terminals it will correctly show input.While on windows terminal for keys that produce letters it will just send "released" right after "pressed". Some other keys like arrow keys and tab do work correctly though.
This is not only a lack of functionality but can also create some weird side effects by keys being released unintentionally.
Expected Behavior
Example of conhost correctly registering key presses and only release when released:
Actual Behavior
In windows terminal it looks like:
The text was updated successfully, but these errors were encountered: