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
[turborepo] Windows VSCode terminal issues with Turbo UI #7808
Comments
### Description Fixes #7808 Windows console produces an event for a key press as well as an event for when the key is released. This caused a single arrow key press to trigger 2 events. This fix is to ignore release events. As per `crossterm` [docs](https://docs.rs/crossterm/latest/crossterm/event/struct.KeyEvent.html#structfield.kind) > kind: [KeyEventKind](https://docs.rs/crossterm/latest/crossterm/event/enum.KeyEventKind.html) Kind of event. Only set if: Unix: [KeyboardEnhancementFlags::REPORT_EVENT_TYPES](https://docs.rs/crossterm/latest/crossterm/event/struct.KeyboardEnhancementFlags.html#associatedconstant.REPORT_EVENT_TYPES) has been enabled with [PushKeyboardEnhancementFlags](https://docs.rs/crossterm/latest/crossterm/event/struct.PushKeyboardEnhancementFlags.html). Windows: always ### Testing Instructions Use Turbo UI on a run with at least 3 tasks and verify that arrow keys now only move a single task. Closes TURBO-2683 Co-authored-by: Chris Olszewski <Chris Olszewski>
Reopening as PR didn't address the screen not clearing. |
@imranbarbhuiya I've been unable to reproduce the final two issues you reported. Can you update to the latest canary and verify the following are still happening?
If both issues are persisting, can you include your Windows build version? |
package.json.-.Sofi-Site.-.Visual.Studio.Code.-.Insiders.2024-03-26.22-18-57.mp4updated to canary, the arrow and enter issues are fixed now but the my windows infos are Edition Windows 11 Pro
Version 23H2
Installed on 10-07-2023
OS build 22635.3350
Experience Windows Feature Experience Pack 1000.22688.1001.0 |
in my windows vscode terminal, pressing the arrow key moves 2 packages at a time, and pressing enter does nothing
turbo.json.-.Sofi-Site.-.Visual.Studio.Code.-.Insiders.2024-03-21.22-39-35.mp4
also pressing ctrl+c keeps the logs in the same place
Originally posted by @imranbarbhuiya in #7802 (comment)
The text was updated successfully, but these errors were encountered: