Layout
One of tmux's built-in pane arrangements.
Source and package
- Qualified name
-
io.github .libtmux. Layout - Package
- io.github.libtmux
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Layout.java
-
Description#
An enum rather than a string, and not for tidiness:
select-layoutwith a name tmux does not recognise ends the server on 3.3a, taking every session on that socket with it — including sessions this program never created. Every other supported release answersinvalid layoutand carries on.A name that cannot be misspelled cannot trigger that.
Window#applyLayout()covers the other way in, a serialized layout string, by checking it before tmux sees it.
Members14#
- availableOn method Whether the running tmux has this layout.
- byTmuxName method The layout with this exact tmux name, or empty if none matches.
- EVEN_HORIZONTAL constant
- EVEN_VERTICAL constant
- Layout method
- MAIN_HORIZONTAL constant
- MAIN_HORIZONTAL_MIRRORED constant Requires tmux 3.5.
- MAIN_VERTICAL constant
- MAIN_VERTICAL_MIRRORED constant Requires tmux 3.5.
- requireSupported method Refuses this layout when the running tmux predates it.
- since method The first supported release that has this layout, or empty when every supported release does.
- TILED constant
- tmuxName method The name tmux knows this by.
- toString method