Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Layout.cs
Other languages
PythonRubyLuaTypeScriptRustGoJavaC++Swift
SelectLayoutAsync ( request : SelectLayoutRequest? , cancellationToken : CancellationToken ) → Task<Window>
methodasync [source]
methodasync [source]
SelectLayoutAsync

Applies a layout to this window.

Feeding a previously captured Layout back restores the same pane sizes on every version, but on tmux 3.7 and earlier it can rotate which pane lands in which position - measured by hand, not a hypothetical. tmux 3.8 and newer accepts the JSON form of the layout (from a plain, non-control client) and restores the exact arrangement, including which pane id sits where; the classic checksum-prefixed form never carries pane ids and so cannot.

Parameters
Returns

A replacement handle carrying the new layout.

Raises
In other ports Set a window's pane layout

0 declared, 0 inherited

Esc

Type to search.