mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
Display the layout name in window lists.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: cmd-list-windows.c,v 1.33 2009-03-28 20:17:29 nicm Exp $ */
|
||||
/* $Id: cmd-list-windows.c,v 1.34 2009-04-30 16:27:29 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -78,8 +78,9 @@ cmd_list_windows_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
else
|
||||
name = "unknown";
|
||||
ctx->print(ctx,
|
||||
" %s [%ux%u] [history %u/%u, %llu bytes]",
|
||||
name, wp->sx, wp->sy, gd->hsize, gd->hlimit, size);
|
||||
" %s [%ux%u %s] [history %u/%u, %llu bytes]",
|
||||
name, wp->sx, wp->sy, layout_name(w), gd->hsize,
|
||||
gd->hlimit, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user