aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-pane.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-select-pane.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-select-pane.c')
-rw-r--r--cmd-select-pane.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index b7f4e65a..16cdc95b 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-select-pane.c,v 1.2 2009-01-19 18:23:40 nicm Exp $ */
+/* $Id: cmd-select-pane.c,v 1.3 2009-04-01 18:21:26 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -63,6 +63,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
}
window_set_active_pane(wl->window, wp);
+ layout_refresh(wl->window);
return (0);
}