Skip to main content

is_quit_key

Function is_quit_key 

Source
fn is_quit_key(key: KeyEvent) -> bool
Expand description

Returns true if a key event should quit the app: q, Q, or Ctrl+C.