Consider separating TextEdit
keyboard interactivity vs mouse interactivity
#5355
crumblingstatue
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a music player with a terminal output panel using
TextEdit
. The music player also allows interacting with the terminal applications (it forwards egui key events to their PTY).The
TextEdit
itself is immutable (uses the&mut &str
trick), however it still eats up keyboard events if focused, despite not being editable.I have this hack to make it not do that if nothing is selected.
It would be nice if there was direct support for "not interested in keyboard, but still selectable".
TextEdit::interactive
conflates the two.Beta Was this translation helpful? Give feedback.
All reactions