Function key_code_to_char

Source
pub fn key_code_to_char(code: KeyCode) -> Option<(char, char)>
Expand description

Convert key code to (char, shifted char) So KeyCode::Key1 (the 1 key) returns ('1', '!') and KeyCode::A (the A key) returns ('a', 'A')