Workspace ManagerconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Workspace.decode(yaml:)

Reads a workspace from YAML, which is how tmuxp files are usually written.

Description#

Available when the YAMLWorkspaces trait is enabled, which is what pulls in the YAML parser:

Examples#

.package(
url: "https://github.com/libtmux/libtmux-swift.git",
from: "0.1.0",
traits: ["YAMLWorkspaces"]
)
Parameters
Raises

Guides#

Pages that discuss decode(yaml:).

Esc

Type to search.

Reference previewOpen reference