2 releases

0.1.2 Mar 18, 2022
0.1.1 Jan 20, 2022

#2 in #pushed

25 downloads per month
Used in sonicbot-matrix

Custom license

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

~1.9–8MB
~68K SLoC