Skip to content
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

fix double key input on windows due to crossterm 0.26 #1686

Merged
merged 1 commit into from
May 14, 2023

Conversation

pm100
Copy link
Contributor

@pm100 pm100 commented May 11, 2023

crossterm 0.26 adds key release event on windows, this causes all key inputs to be duplicated in apps that dont explciitly look at the key event type

It changes the following:

  • in input.rs is not key press then skip input

I followed the checklist:

  • I added unittests
  • [ x] I ran make check without errors
  • [ x] I tested the overall application
  • I added an appropriate item to the changelog

@pm100
Copy link
Contributor Author

pm100 commented May 11, 2023

note that the CI is failing due to the 1.65 shift requirement

see #1685

@extrawurst extrawurst merged commit aa4266c into gitui-org:master May 14, 2023
@pm100 pm100 deleted the winct26 branch May 15, 2023 14:52
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.

2 participants