diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 18:21:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 18:21:42 +0000 |
commit | b6450b167b089201381f02e1919f18df8881e082 (patch) | |
tree | e554848e2da982d486fa084bf2e19982b8eec894 /cmd-up-pane.c | |
parent | 6789b3367a9916d823abaeba0703e3388ffcf80a (diff) |
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-up-pane.c')
-rw-r--r-- | cmd-up-pane.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-up-pane.c b/cmd-up-pane.c index a78e140d..d70a2a24 100644 --- a/cmd-up-pane.c +++ b/cmd-up-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-up-pane.c,v 1.4 2009-03-28 14:08:09 nicm Exp $ */ +/* $Id: cmd-up-pane.c,v 1.5 2009-04-01 18:21:29 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -56,5 +56,7 @@ cmd_up_pane_exec(struct cmd *self, struct cmd_ctx *ctx) w->active = TAILQ_LAST(&w->panes, window_panes); } while (w->active->flags & PANE_HIDDEN); + layout_refresh(wl->window); + return (0); } |