summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/ui
diff options
context:
space:
mode:
authortfgast <tfgast@users.noreply.github.com>2022-02-24 02:22:24 -0800
committerGitHub <noreply@github.com>2022-02-24 11:22:24 +0100
commitcef3f1e408144093b09ab4882ad81bd2e8b33431 (patch)
tree50d4921c43e086268bde4f1dea4eeabddf9f32ad /zellij-server/src/ui
parent3346238a6bc368e47e621326b8b9bc208ec6c2f1 (diff)
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
Diffstat (limited to 'zellij-server/src/ui')
-rw-r--r--zellij-server/src/ui/pane_boundaries_frame.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-server/src/ui/pane_boundaries_frame.rs b/zellij-server/src/ui/pane_boundaries_frame.rs
index c4dfc0fd2..07cae4ac6 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
))