summaryrefslogtreecommitdiffstats
path: root/cmd-choose-window.c
authornicm <nicm>2009-01-15 19:38:36 (GMT)
committer nicm <nicm>2009-01-15 19:38:36 (GMT)
commit55ca1a92d26666a3042d0f4ee36be201dba210e1 (patch) (side-by-side diff)
tree5dd8436b854ad1e473bb81634fb02e11166d2e6b /cmd-choose-window.c
parent503cdd628ddbc0e6e76e9c6e78f81cecdd34c3f3 (diff)
downloadtmux-old-55ca1a92d26666a3042d0f4ee36be201dba210e1.zip
tmux-old-55ca1a92d26666a3042d0f4ee36be201dba210e1.tar.gz
tmux-old-55ca1a92d26666a3042d0f4ee36be201dba210e1.tar.bz2
Show number of panes.
Diffstat (limited to 'cmd-choose-window.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-choose-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-choose-window.c b/cmd-choose-window.c
index b94af59..8f5d960 100644
--- a/cmd-choose-window.c
+++ b/cmd-choose-window.c
@@ -73,7 +73,8 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
idx++;
window_choose_add(wl->window->active,
- wm->idx, "%3d: %s [%ux%u]", wm->idx, w->name, w->sx, w->sy);
+ wm->idx, "%3d: %s [%ux%u] (%u panes)", wm->idx, w->name, w->sx, w->sy,
+ window_count_panes(w));
}
cdata = xmalloc(sizeof *cdata);