libtmux Reference MCP Search
On this page

src.WorkspaceBuilder.build

View as Markdown

Module
src
Declared in
WorkspaceBuilder
Package
libtmux
Source
crates/tmux-workspace/src/lib.rs
build ( self , workspace : &Workspace ) Result<Session, BuildError>
method [source]
method [source]
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.

0 declared, 0 inherited

Esc

Type to search.