summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-11-15 06:52:11 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-11-15 06:52:11 +0000
commit9a1b4f9ed3285d3b9b0e8d22b0bdb1a97df7e949 (patch)
treedd5c1076e2184c537a179a80f2e1466902080aee /cmd-list-panes.c
parent7e542d119b8c2f80cbd675f86959171e2c0b50d4 (diff)
Show more window and pane flags in list-* output, and put layout on the
same line.
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r--cmd-list-panes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c
index ba70faa1..e96d596b 100644
--- a/cmd-list-panes.c
+++ b/cmd-list-panes.c
@@ -65,9 +65,10 @@ cmd_list_panes_exec(struct cmd *self, struct cmd_ctx *ctx)
}
size += gd->hsize * sizeof *gd->linedata;
- ctx->print(ctx, "%u: [%ux%u] [history %u/%u, %llu bytes]%s",
+ ctx->print(ctx, "%u: [%ux%u] [history %u/%u, %llu bytes]%s%s",
n, wp->sx, wp->sy, gd->hsize, gd->hlimit, size,
- wp == wp->window->active ? " (active)" : "");
+ wp == wp->window->active ? " (active)" : "",
+ wp->fd == -1 ? " (dead)" : "");
n++;
}