diff options
Diffstat (limited to 'zellij-client/src')
-rw-r--r-- | zellij-client/src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs index 0afbe913b..aeb74abba 100644 --- a/zellij-client/src/lib.rs +++ b/zellij-client/src/lib.rs @@ -297,6 +297,12 @@ pub fn start_client( .send(ClientInstruction::UnblockInputThread) .unwrap(); log::error!("Received empty message from server"); + send_client_instructions + .send(ClientInstruction::Error( + "Received empty message from server".to_string(), + )) + .unwrap(); + break; }, } } @@ -309,7 +315,7 @@ pub fn start_client( let restore_snapshot = "\u{1b}[?1049l"; os_input.disable_mouse(); let error = format!( - "{}\n{}{}", + "{}\n{}{}\n", restore_snapshot, goto_start_of_last_line, backtrace ); let _ = os_input |