On this page
io.github.libtmux.Window.Window.applyLayout
- Module
- io.github.libtmux.Window
- Declared in
- Window
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Window.java
-
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
-
-
IllegalArgumentException – if the string is not a layout tmux wrote
-
0 declared, 0 inherited