libtmux Reference MCP Search
On this page

io.github.libtmux.Window.Window.applyLayout

View as Markdown

Module
io.github.libtmux.Window
Declared in
Window
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Window.java
applyLayout ( layout : String ) void
method [source]
method [source]
applyLayout

Restores an exact arrangement previously read from #layout() .

<p>The string is checked here rather than by tmux, because tmux 3.3a does not survive being handed one it cannot parse: it ends the server and every session on the socket. Every other supported release answers invalid layout. Since a layout string carries tmux's own checksum, a wrong one is detectable without asking.

Raises

0 declared, 0 inherited

Esc

Type to search.