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
This commit is contained in:
parent
3346238a6b
commit
cef3f1e408
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ impl PaneFrame {
|
||||||
}
|
}
|
||||||
let vte_output = if self.is_main_client {
|
let vte_output = if self.is_main_client {
|
||||||
Some(format!(
|
Some(format!(
|
||||||
"\u{1b}]0;Zellij ({}) - {}",
|
"\u{1b}]0;Zellij ({}) - {}\u{07}",
|
||||||
get_session_name().unwrap(),
|
get_session_name().unwrap(),
|
||||||
self.title
|
self.title
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue