libtmux:select-layout
Apply LAYOUT to physical WINDOW; return an outcome and optional replacement. LAYOUT is :EVEN-HORIZONTAL, :EVEN-VERTICAL, :MAIN-HORIZONTAL, :MAIN-VERTICAL, :TILED, or (:CUSTOM string) containing a tmux layout description. Legacy custom text requires four ASCII hex digits, a comma and a nonempty body; JSON-object layouts require a live tmux daemon at least 3.8. Header checks precede I/O; the existing target preflight checks the daemon version before dispatch. Text is literal; tmux validates its checksum, JSON and geometry. This unzooms the window. Signals INVALID-ARGUMENT, UNSUPPORTED-CAPABILITY, STALE-TARGET or an operational condition. Does not change earlier captured values.
Source and package
- Qualified name
-
libtmux:select-layout - Declared in
libtmux- Package
- libtmux
- Source
- src/geometry.lisp
-
Public owner:
libtmuxDescription#
See also:
libtmux:next-layout,libtmux:outcome-value,libtmux:previous-layout.
tmux command#
The tmux commands behind select-layout.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss select-layout.