mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-22 18:47:14 +00:00
When a window is zombified and automatic-rename is on, append [dead] to the
name.
This commit is contained in:
parent
6bca92db4d
commit
9ed62eeb91
1 changed files with 6 additions and 0 deletions
6
names.c
6
names.c
|
|
@ -73,6 +73,12 @@ set_window_names(void)
|
|||
xfree(name);
|
||||
}
|
||||
|
||||
if (w->active->fd == -1) {
|
||||
xasprintf(&name, "%s[dead]", wname);
|
||||
xfree(wname);
|
||||
wname = name;
|
||||
}
|
||||
|
||||
if (strcmp(wname, w->name) == 0)
|
||||
xfree(wname);
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue