From 0b2a2a7883d92a6a4c28641253ed13b68189569b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 15 Jan 2009 19:38:36 +0000 Subject: [PATCH] Show number of panes. --- cmd-choose-window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd-choose-window.c b/cmd-choose-window.c index 948a32d9..cdea64f8 100644 --- a/cmd-choose-window.c +++ b/cmd-choose-window.c @@ -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 @@ -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);