diff options
author | tfgast <tfgast@users.noreply.github.com> | 2022-02-24 02:22:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 11:22:24 +0100 |
commit | cef3f1e408144093b09ab4882ad81bd2e8b33431 (patch) | |
tree | 50d4921c43e086268bde4f1dea4eeabddf9f32ad /zellij-server/src/ui | |
parent | 3346238a6bc368e47e621326b8b9bc208ec6c2f1 (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.rs | 2 |
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 )) |