Skip to main content

handle_event

Function handle_event 

Source
pub fn handle_event(app: &App, event: &Event) -> Option<Message>
Expand description

Translate a raw terminal event into a Message via the keybinding system.

Returns None for events that don’t produce messages (e.g., mouse events, focus changes, or key events that don’t map to any action).