This commit is contained in:
Andy Gayton 2024-06-23 09:36:34 -04:00
parent 98c6ce2d94
commit 13db47eb25

View File

@ -74,9 +74,9 @@ fn main() -> Result<()> {
report_error_new(&engine_state, &err);
}
// TODO: make this conditional in the future
let ctrlc_bool = Arc::new(AtomicBool::new(false));
let ctrlc_handlers = ctrlc::Handlers::new();
// TODO: make this conditional in the future
ctrlc_protection(&mut engine_state, &ctrlc_bool, &ctrlc_handlers);
// Begin: Default NU_LIB_DIRS, NU_PLUGIN_DIRS