Skip to content

Commit

Permalink
fix(cli): Add a manual exit to the ctrl+c handler
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Jul 16, 2024
1 parent a845f3f commit 70a9bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pub(crate) trait AsyncCliCommand: Send + Sync {
_ = tokio::signal::ctrl_c() => {
let term = console::Term::stdout();
let _ = term.show_cursor();
std::process::exit(130);
}
}

Expand Down

0 comments on commit 70a9bfb

Please sign in to comment.