pub fn quit()
Expand description
Quits the application.
This is often used in KeyHandler
s like so:
let on_key = on_key! {
KeyEvent { code: Char('q'), .. } => event::quit(),
};
pub fn quit()
Quits the application.
This is often used in KeyHandler
s like so:
let on_key = on_key! {
KeyEvent { code: Char('q'), .. } => event::quit(),
};