Function keyboard_types::key::is_key_string
source ยท fn is_key_string(s: &str) -> bool
Expand description
Check if string can be used as a Key::Character
keystring.
This check is simple and is meant to prevents common mistakes like mistyped keynames
(e.g. Ennter
) from being recognized as characters.