=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-list-panes.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/tmux/cmd-list-panes.c 2010/08/11 07:27:50 1.5 +++ src/usr.bin/tmux/cmd-list-panes.c 2010/11/15 06:52:11 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-panes.c,v 1.5 2010/08/11 07:27:50 nicm Exp $ */ +/* $OpenBSD: cmd-list-panes.c,v 1.6 2010/11/15 06:52:11 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -65,9 +65,10 @@ } 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++; }