io.github.libtmux.workspace.WorkspaceBuilder
-
Builds a tmux session from a written description.
Description#
Reads the shape of a tmuxp workspace file. Full runtime compatibility with tmuxp is not the aim; starting from a file somebody already has is.
Reading and building are separate. A file that describes something tmux would refuse is rejected while it is still text, before any session exists to leave half-built.
The
tmux-workspacecommand is a separate implementation with a wider document language and its own behaviour around building; see this package's documentation for what differs. Code against this class for what this class does.
Guides#
Pages that discuss WorkspaceBuilder.