-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bug: Typing in filter/search queries results in double-keying characters (Windows 11) #30
Comments
Thanks for reporting! I could reproduce this in a VM. This is caused by an issue in crossterm 0.26: crossterm-rs/crossterm#778 While the upstream fix is still in progress, one way that seems to work is to revert crossterm back to 0.25 for windows. I pushed the change in the main branch (2ef45b3). Let me know if that resolves the issue for you. |
Hi @YS-L . I can confirm that this now works on Windows. Thanks! |
Crossterm 0.26+ reports key release events on windows, which results in the application seeing multiple events for a single key press. See ratatui/ratatui#347 for more info. Fixes YS-L#30
* Migrate to Ratatui Ratatui is a replacement for tui-rs that is actively maintained. See https://ratatui.rs/ for more info. * fix: only respond to key press events Crossterm 0.26+ reports key release events on windows, which results in the application seeing multiple events for a single key press. See ratatui/ratatui#347 for more info. Fixes #30
So you can't effectively filter/search as characters are entered twice per one keystroke.
The text was updated successfully, but these errors were encountered: