Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Key presses registering twice on Windows #513

Closed
fujiapple852 opened this issue Apr 21, 2023 · 0 comments · Fixed by #514
Closed

Key presses registering twice on Windows #513

fujiapple852 opened this issue Apr 21, 2023 · 0 comments · Fixed by #514
Labels
bug Something isn't working tui windows
Milestone

Comments

@fujiapple852
Copy link
Owner

fujiapple852 commented Apr 21, 2023

Add a check:

if key.kind == KeyEventKind::Press {...}
@fujiapple852 fujiapple852 added bug Something isn't working tui windows labels Apr 21, 2023
@fujiapple852 fujiapple852 added this to the 0.8.0 milestone Apr 21, 2023
@fujiapple852 fujiapple852 self-assigned this Apr 21, 2023
@fujiapple852 fujiapple852 changed the title Fix double key press on Windows Key presses registering twice on Windows Apr 21, 2023
@fujiapple852 fujiapple852 removed their assignment Apr 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working tui windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant