From b4112743cff42452b5d18558bf2d55bbbfff8c69 Mon Sep 17 00:00:00 2001 From: Matt Coles Date: Thu, 30 Jul 2026 14:46:01 -0700 Subject: fix(client): restore terminal on sighup and sigterm Enable termination-signal handling so SIGHUP and SIGTERM follow the graceful quit path and restore terminal state. Log handler registration failures and add PTY coverage for direct SIGHUP and server EOF restoration Co-authored-by: Matt Coles --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9ff55610..3b1af854 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ bytes = "1" clap = { version = "4.5", default-features = false, features = ["std", "help", "usage"] } clap_complete = "4.5" crossterm = "0.29" -ctrlc = "3" +ctrlc = { version = "3", features = ["termination"] } interprocess = "2.4.2" libc = "0.2" portable-pty = "=0.9.0" -- cgit v1.2.3