mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Mark zombie windows as dead in choose-window list, from Romain Francoise.
This commit is contained in:
parent
3ae1b82695
commit
261b6b8615
@ -101,8 +101,9 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
left = right = "";
|
||||
|
||||
window_choose_add(wl->window->active,
|
||||
wm->idx, "%3d: %s%c [%ux%u] (%u panes)%s%s%s",
|
||||
wm->idx, "%3d: %s%c [%ux%u] (%u panes%s)%s%s%s",
|
||||
wm->idx, w->name, flag, w->sx, w->sy, window_count_panes(w),
|
||||
w->active->fd == -1 ? ", dead" : "",
|
||||
left, title, right);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user