Open sornas opened 3 years ago
Currently we ignore <C-c>, which is kinda bad. I think we should always quit on <C-c> and quit on SDL quit-events by default, but have the SDL-part be optional (but default to on).
<C-c>
Suggestions: std::process::exit. https://lib.rs/crates/ctrlc is cross-platform.
std::process::exit
Currently we ignore
<C-c>
, which is kinda bad. I think we should always quit on<C-c>
and quit on SDL quit-events by default, but have the SDL-part be optional (but default to on).Suggestions:
std::process::exit
. https://lib.rs/crates/ctrlc is cross-platform.