Function handle_key_command

Source
pub async fn handle_key_command(command: KeyCommands) -> Result<()>