pub fn char_key(c: char) -> KeyEventExpand description
Create a KeyEvent for a character with no modifiers.
ยงExamples
use tui_dispatch_core::testing::char_key;
use crossterm::event::KeyCode;
let k = char_key('x');
assert_eq!(k.code, KeyCode::Char('x'));