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).
This commit is contained in:
Tiago Cunha
2012-04-10 09:52:45 +00:00
parent b58d7f78a1
commit f99de22808
8 changed files with 149 additions and 13 deletions

View File

@ -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'))