diff options
| author | akbash <akbash@herdr.dev> | 2026-08-09 17:45:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-09 17:45:40 +0300 |
| commit | ca1af383a82733608a0563fce2252058b478498c (patch) | |
| tree | 82e1f8ab817b637cecac29ea40b34b9404f2ff07 /src/client | |
| parent | e7c38ab37f967d16e2eacdb0bbde2d933a332057 (diff) | |
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 <ogulcancelik@gmail.com>
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |
