Workspace.decode(yaml:)
-
Reads a workspace from YAML, which is how tmuxp files are usually written.
Description#
Available when the
YAMLWorkspacestrait 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"])
Guides#
Pages that discuss decode(yaml:).