diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-04-01 13:18:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-04-01 13:18:38 +0000 |
commit | 85f5485cb5e46d6d574b7a1b8c1357c85b528e2b (patch) | |
tree | 302c5d6ffd1bc655d2ab33c808df7d0cc1e2acf2 /cmd-resize-pane.c | |
parent | b831f8635409883e2ad2b6feedf05821f8f2ea84 (diff) | |
download | rtmux-85f5485cb5e46d6d574b7a1b8c1357c85b528e2b.tar.gz rtmux-85f5485cb5e46d6d574b7a1b8c1357c85b528e2b.tar.bz2 rtmux-85f5485cb5e46d6d574b7a1b8c1357c85b528e2b.zip |
Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).
Diffstat (limited to 'cmd-resize-pane.c')
-rw-r--r-- | cmd-resize-pane.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c index 1380b283..cabf1da4 100644 --- a/cmd-resize-pane.c +++ b/cmd-resize-pane.c @@ -103,6 +103,7 @@ cmd_resize_pane_exec(struct cmd *self, struct cmd_ctx *ctx) } } + layout_list_add(wp->window); if (args_has(self->args, 'L')) layout_resize_pane(wp, LAYOUT_LEFTRIGHT, -adjust); else if (args_has(self->args, 'R')) |