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 | |
| parent | fix(style): remove unnecessary borrow operators (#1084) (diff) | |
| download | sl0ppij-cef3f1e408144093b09ab4882ad81bd2e8b33431.tar.gz sl0ppij-cef3f1e408144093b09ab4882ad81bd2e8b33431.tar.xz sl0ppij-cef3f1e408144093b09ab4882ad81bd2e8b33431.zip | |
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
| -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 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 )) |
