mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Show number of panes.
This commit is contained in:
parent
601667f35a
commit
0b2a2a7883
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-choose-window.c,v 1.1 2009-01-15 19:27:31 nicm Exp $ */
|
/* $Id: cmd-choose-window.c,v 1.2 2009-01-15 19:38:36 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -73,7 +73,8 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
idx++;
|
idx++;
|
||||||
|
|
||||||
window_choose_add(wl->window->active,
|
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);
|
cdata = xmalloc(sizeof *cdata);
|
||||||
|
Loading…
Reference in New Issue
Block a user