libtmux Reference MCP Search
On this page

Workspace

View as Markdown

Package
libtmux-swift
Source
Sources/TmuxWorkspace/Workspace.swift
struct Workspace : struct Workspace
struct [source]
struct [source]
struct Workspace

A tmux layout described as data, in tmuxp's vocabulary.

The modelled keys use tmuxp's spelling, so files limited to this structural subset need no translation. tmuxp's plugins, hooks, and environment runtime are ignored.

7 declared, 0 inherited

Members

  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • decode(json:) method Reads a workspace from JSON.
  • init(from:) method Creates a new instance by decoding from the given decoder.
  • init(sessionName:startDirectory:windows:) method
  • sessionName property What the session is called once built.
  • startDirectory property Where every window starts unless it names its own. Left out, tmux uses whatever directory it was started from.
  • windows property The windows to build, in the order they are written.
Esc

Type to search.