aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-pane.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-04-10 09:52:45 +0000
committerTiago Cunha <tcunha@gmx.com>2012-04-10 09:52:45 +0000
commitf99de22808b8e3c2b8aabf70b945f768ae892dda (patch)
tree07e7ba338344d6dbecb6d0af381f47a8dc6672df /cmd-resize-pane.c
parentb58d7f78a1c7c6755321e97046307db1d295c2d6 (diff)
downloadrtmux-f99de22808b8e3c2b8aabf70b945f768ae892dda.tar.gz
rtmux-f99de22808b8e3c2b8aabf70b945f768ae892dda.tar.bz2
rtmux-f99de22808b8e3c2b8aabf70b945f768ae892dda.zip
Sync OpenBSD patchset 1084:
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c
index 28b52ea1..d39bbb70 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'))