-
Notifications
You must be signed in to change notification settings - Fork 287
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
Support key release events #695
Comments
It is is possible in master(not released) yet using the kitty protocol. To use it just add: execute!(stdout, PushKeyboardEnhancementFlags(KeyboardEnhancementFlags::REPORT_EVENT_TYPES))?; and run it in a supported terminal. |
This feature was release in 0.25, the issue can be closed. |
Its partially possible for those that have a kitty terminal |
This was referenced Jan 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'm making a piano-like UI and I need to detect key up events to know when to stop playing the note for that key.
Describe the solution you'd like
An additional field in
KeyEvent
forPress/Release
.Additional context
Just FYI, termion doesn't seem to provide this either.
The text was updated successfully, but these errors were encountered: