1use std::collections::HashMap; 2 3use crossterm::event::KeyEvent; 4pub struct KeyBinder { 5 bindings: HashMap<KeyEvent, Box<dyn FnMut()>>, 6}