Function handle_key_events

Source
pub fn handle_key_events(
    key_event: KeyEvent,
    app: &mut App<'_>,
) -> AppResult<()>
Expand description

Handles the key events and updates the state of App.