ctrlc-handler 0.1.2

Helper for using the ctrlc crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
# 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
}
```