Add resize-pane -Z to temporary zoom the active pane to occupy the full
commitc71844de631186f3df7ff5a6e3aab613da1e4853
authorNicholas Marriott <nicm@openbsd.org>
Sun, 24 Mar 2013 09:57:59 +0000 (24 09:57 +0000)
committerNicholas Marriott <nicm@openbsd.org>
Sun, 24 Mar 2013 09:57:59 +0000 (24 09:57 +0000)
tree11225419cb1fd07855bcf628df487a25248103fc
parenta05b8c41437409f83cb1df2adc0998791d7a2038
Add resize-pane -Z to temporary zoom the active pane to occupy the full
window or unzoom (restored to the normal layout) if it already zoomed,
bound to C-b z by default. The pane is unzoomed on pretty much any
excuse whatsoever.

We considered making this a new layout but the requirements are quite
different from layouts so decided it is better as a special case. Each
current layout cell is saved, a temporary one-cell layout generated and
all except the active pane set to NULL.

Prompted by suggestions and scripts from several. Thanks to Aaron Jensen
and Thiago Padilha for testing an earlier version.
16 files changed:
cmd-break-pane.c
cmd-join-pane.c
cmd-kill-pane.c
cmd-resize-pane.c
cmd-respawn-window.c
cmd-select-layout.c
cmd-select-pane.c
cmd-split-window.c
cmd-swap-pane.c
input-keys.c
key-bindings.c
layout.c
resize.c
server-client.c
server-fn.c
window.c