Skip to main content

handle_key_event

Function handle_key_event 

Source
pub fn handle_key_event(
    app: &mut App,
    key: KeyEvent,
    events_tx: &Sender<AppEvent>,
) -> Result<()>
Expand description

Handle a key event based on the current screen.