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

C++ workspace internals

Edit this page on GitHub

workspace consumer 0.1.0-alpha.10 · Source

These pages document the in-development workspace builder for contributors and applications that call its APIs. For workspace loading from a terminal, see tmuxp.

Builder pipelineLink to section

parse_tmuxp converts YAML into typed workspace data. build applies that data through a core Server. The workspace_builder target keeps YAML parsing separate from the core library. Its executables exercise parsing and builder tests; they do not load workspace files as a user application.

Read the implementationLink to section

  • Guides show builder setup and application code.
  • Topics explain configuration, behavior, and failures.
  • Examples exercise the builder through the language API.
  • API links the configuration and construction interfaces.

Implementation scopeLink to section

The C++ repository includes a workspace consumer that builds a described tmux session and reads tmuxp-style YAML. It exercises libtmux’s public API from a separate target.

The workspace headers and parser belong to examples/workspace. They are not installed with the core libtmux package. Use the consumer from a source checkout or adapt it into your own application with its dependencies.

DependenciesLink to section

The workspace builder uses the core C++ API. Reading YAML adds yaml-cpp to the consumer target; the core library does not acquire that dependency. Building and exercising the consumer requires the repository’s CMake toolchain and tmux on a supported host.

The consumer creates a new session. It does not converge an existing session or export a live session back to a workspace file.

Consumer documentation

Esc

Type to search.