Skip to content

fix(tui): ignore key release events to stop double input on Windows#12

Merged
harehare merged 2 commits into
mainfrom
fix/tui-windows-double-keystroke
Jul 7, 2026
Merged

fix(tui): ignore key release events to stop double input on Windows#12
harehare merged 2 commits into
mainfrom
fix/tui-windows-double-keystroke

Conversation

@harehare

@harehare harehare commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Windows' crossterm backend reports both press and release per keystroke, so the TUI event loop handled every key twice. Filter to press-only events and add regression tests.

harehare added 2 commits July 7, 2026 21:36
Windows' crossterm backend reports both press and release per keystroke,
so the TUI event loop handled every key twice. Filter to press-only
events and add regression tests.
@harehare harehare merged commit 862b31b into main Jul 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant