2 releases
0.1.2 | Mar 18, 2022 |
---|---|
0.1.1 | Jan 20, 2022 |
#1 in #pushed
22 downloads per month
Used in sonicbot-matrix
4KB
How to use
Run a loop until CTRL-C is pushed:
use ctrlc_handler::CtrlCHandler;
let handler = CtrlCHandler::new();
while handler.should_continue() {
// Do stuff here
}
Dependencies
~2–10MB
~86K SLoC