-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Enable key repeat for non text keys #2387
Comments
It's not a bad idea per se having events for key press and release without repeat does make sense. The agree that the frame based event system is a bit tricky. But I really, really need key repeats here :/ (however now I know where to patch that - thanks.) ps. I really like the Composition events - I started my application with iced and they're completely missing dead key and IME scenarios - but the deal breaker is that egui allows me to use opengl controls thanks for that. |
I'm currently developing a terminal application using egui. I use a fragment shader to display the content and use it inside a ViewPort scroll area:
I need to handle the key events myself and it works quite well - however key repeats for the command keys Arrow/Backspace are not working - only the Text event does. I can't figure out how to detect key repeats the
egui::Event::Key { key, pressed: true, modifiers }
event is only once in the list.Another issue is - can I disable the scroll drag in the ScrollArea somehow? It's interfering with my mouse selection in the control.
The text was updated successfully, but these errors were encountered: