Function egui_winit::is_printable_char
source · pub(crate) fn is_printable_char(chr: char) -> bool
Expand description
Winit sends special keys (backspace, delete, F1, …) as characters.
Ignore those.
We also ignore ‘\r’, ‘\n’, ‘\t’.
Newlines are handled by the Key::Enter
event.