aboutsummaryrefslogtreecommitdiff
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-01 18:21:42 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-01 18:21:42 +0000
commitb6450b167b089201381f02e1919f18df8881e082 (patch)
treee554848e2da982d486fa084bf2e19982b8eec894 /cmd-server-info.c
parent6789b3367a9916d823abaeba0703e3388ffcf80a (diff)
downloadrtmux-b6450b167b089201381f02e1919f18df8881e082.tar.gz
rtmux-b6450b167b089201381f02e1919f18df8881e082.tar.bz2
rtmux-b6450b167b089201381f02e1919f18df8881e082.zip
Basic horizontal splitting and layout management. Still some redraw and other
issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index 89d3d7da..ce680485 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-server-info.c,v 1.12 2009-03-29 19:09:57 nicm Exp $ */
+/* $Id: cmd-server-info.c,v 1.13 2009-04-01 18:21:28 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -115,8 +115,8 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
RB_FOREACH(wl, winlinks, &s->windows) {
w = wl->window;
ctx->print(ctx, "%4u: %p/%p %s [%ux%u] [flags=0x%x, "
- "references=%u]", wl->idx, wl, w, w->name,
- w->sx, w->sy, w->flags, w->references);
+ "references=%u, layout=%u]", wl->idx, wl, w, w->name,
+ w->sx, w->sy, w->flags, w->references, w->layout);
j = 0;
TAILQ_FOREACH(wp, &w->panes, entry) {
lines = ulines = size = usize = 0;