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

Added KeyRepeat event. #2389

Merged
merged 1 commit into from Dec 5, 2022
Merged

Conversation

mkrueger
Copy link
Contributor

@mkrueger mkrueger commented Dec 5, 2022

Turn repeated Event::Key into Event::KeyRepeat.

Closes #2387.

@emilk
Copy link
Owner

emilk commented Dec 5, 2022

Ah nice, that's a pretty elegant solution!

@emilk
Copy link
Owner

emilk commented Dec 5, 2022

…but it needs cargo fmt

@mkrueger
Copy link
Contributor Author

mkrueger commented Dec 5, 2022

Did run cargo fmt & force pushed.

btw. nice didn't know about cargo fmt. Will use that for my projects as well.

@emilk
Copy link
Owner

emilk commented Dec 5, 2022

you seem to have forgotten to push

KeyPress no longer repeats.
@mkrueger
Copy link
Contributor Author

mkrueger commented Dec 5, 2022

My fault - should've worked now.

@emilk emilk merged commit ee25829 into emilk:master Dec 5, 2022
@mkrueger
Copy link
Contributor Author

mkrueger commented Dec 5, 2022

Thanks

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.

Enable key repeat for non text keys
2 participants