pub fn key_code_to_char(code: KeyCode) -> Option<(char, char)>
Convert key code to (char, shifted char) So KeyCode::Key1 (the 1 key) returns ('1', '!') and KeyCode::A (the A key) returns ('a', 'A')
KeyCode::Key1
1
('1', '!')
A
('a', 'A')