1 2 3 4 5 6
use crossterm::event::{KeyCode, KeyEventKind}; pub struct KeyboardInput { pub code: KeyCode, pub kind: KeyEventKind, }