diff --git a/src/event_handlers/inputs.rs b/src/event_handlers/inputs.rs index 3d5fd04f..771849cf 100644 --- a/src/event_handlers/inputs.rs +++ b/src/event_handlers/inputs.rs @@ -113,7 +113,6 @@ impl TermInputHandler { ); PROGRESS_PRINTER.println(error); - // let temp_filename = temp_dir().join(&filename); let Ok(mut state_file) = open_file(&temp_filename.to_string_lossy()) else { @@ -127,6 +126,9 @@ impl TermInputHandler { write_to(&state, &mut state_file, true)?; + let msg = format!("✅ Saved scan state to {:?}", temp_filename); + PROGRESS_PRINTER.println(msg); + log::trace!("exit: sigint_handler (saved to temp folder)"); std::process::exit(1); };