Closed woelfman closed 9 months ago
Fixed in https://github.com/dustinblackman/oatmeal/commit/7cce417de57c319f9f92fd6c470c2afff0cc091a, I appreciate the report!
As for cargo-run-bin, while it's not fully Windows friendly, something basic like cargo bin committed
should work fine. Though I don't have a Windows system to test on. Would you mind opening an issue over there so I could dig further, please? Thank you!
https://github.com/dustinblackman/oatmeal/blob/08f602a04cbc2ba80c10b9f0c313a682fe3da07e/src/application/ui.rs#L138
I haven't tried this on other platforms, but on Windows there is a null event that occurs right after ctrl+c, which resets app_state.exit_warning back to false, so ctrl+c ctrl+c doesn't work unless hold down the buttons.
A fix could look something like this:
The project builds on Windows, but due to a commit hook requiring cargo-run-bin, which depends on unix, I did not create a PR.