sornas / lingon

1 stars 0 forks source link

Automatically quit when asked to #59

Open sornas opened 3 years ago

sornas commented 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).

Suggestions: std::process::exit. https://lib.rs/crates/ctrlc is cross-platform.