Skip to content

Commit

Permalink
Merge pull request #528 from hatoo/fix-monitor
Browse files Browse the repository at this point in the history
fix monitor
  • Loading branch information
hatoo committed Jun 29, 2024
2 parents bc258cb + 36d3784 commit a629eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ impl Monitor {
modifiers: KeyModifiers::CONTROL,
..
}) => {
drop(raw_mode);
let _ = crate::printer::print_result(
&mut std::io::stdout(),
self.print_mode,
Expand All @@ -440,7 +441,6 @@ impl Monitor {
self.disable_color,
self.stats_success_breakdown,
);
drop(raw_mode);
std::process::exit(libc::EXIT_SUCCESS);
}
_ => (),
Expand Down

0 comments on commit a629eed

Please sign in to comment.