From ca1af383a82733608a0563fce2252058b478498c Mon Sep 17 00:00:00 2001 From: akbash Date: Sun, 9 Aug 2026 17:45:40 +0300 Subject: fix(client): avoid abort on terminal hangup (#2427) * fix(client): avoid abort on terminal hangup refs #2424 * test(client): gate PTY integration on unix refs #2424 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Can Celik --- src/client/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/mod.rs b/src/client/mod.rs index 301377c9..0d28b47a 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -606,7 +606,7 @@ fn restore_terminal_state( restore_windows_input_mode_value(mode); } - ratatui::restore(); + let _ = ratatui::try_restore(); let _ = write_terminal_restore_postlude(&mut io::stdout(), reset_host_color_scheme_reports); #[cfg(windows)] -- cgit v1.2.3