pub fn handle_key_event( app: &mut App, key: KeyEvent, events_tx: &Sender<AppEvent>, ) -> Result<()>
Handle a key event based on the current screen.