handle_event

Function handle_event 

Source
pub fn handle_event(app: &mut App, event: Event) -> Result<bool>
Expand description

Handle a terminal event.

Returns Ok(true) if the app should quit, Ok(false) to continue.