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

src.WorkspaceBuilder.build

API reference · Markdown

src.WorkspaceBuilder.build ( self , workspace : &Workspace ) → Result<Session, BuildError>
method [source]
method [source]
src.WorkspaceBuilder.build

Create the session a workspace describes, and return it.

Windows and panes are created in the order the configuration lists them. Nothing is attached: the caller decides whether to take over a terminal.

Errors

Returns an error when a session of the same name exists, or when tmux refuses any step.

Discussed in Use the Rust workspace builder , Rust workspace builder behavior , Rust workspace builder API

In other ports Build a session from a workspace description
Esc

Type to search.