From cef3f1e408144093b09ab4882ad81bd2e8b33431 Mon Sep 17 00:00:00 2001 From: tfgast Date: Thu, 24 Feb 2022 02:22:24 -0800 Subject: [PATCH] fix(terminal): ensure Title doesn't overrun (#1094) The set title escape code needs to be terminated with a bell character. See https://tldp.org/HOWTO/Xterm-Title-3.html --- zellij-server/src/ui/pane_boundaries_frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zellij-server/src/ui/pane_boundaries_frame.rs b/zellij-server/src/ui/pane_boundaries_frame.rs index c4dfc0fd..07cae4ac 100644 --- a/zellij-server/src/ui/pane_boundaries_frame.rs +++ b/zellij-server/src/ui/pane_boundaries_frame.rs @@ -605,7 +605,7 @@ impl PaneFrame { } let vte_output = if self.is_main_client { Some(format!( - "\u{1b}]0;Zellij ({}) - {}", + "\u{1b}]0;Zellij ({}) - {}\u{07}", get_session_name().unwrap(), self.title ))