pub fn handle_key_events(
    key_event: KeyEvent,
    app: &mut App
) -> AppResult<Option<Notification>>
Expand description

Handles the key events and updates the state of App.