mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
PatchSet 788
Date: 2010/11/15 06:52:11 Author: nicm Branch: HEAD Tag: (none) Log: Show more window and pane flags in list-* output, and put layout on the same line. Members: cmd-list-panes.c:1.5->1.6 cmd-list-windows.c:1.9->1.10
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: cmd-list-panes.c,v 1.5 2010-08-11 22:14:23 tcunha Exp $ */
|
||||
/* $Id: cmd-list-panes.c,v 1.6 2010-12-06 21:56:32 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -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++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user