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

LibTmux.Workspace.WorkspaceBuilder

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

class LibTmux.Workspace.WorkspaceBuilder
class [source]
class [source]
class LibTmux.Workspace.WorkspaceBuilder

Builds a tmux session from a tmuxp workspace file.

Discussed in Use the .NET workspace builder , .NET workspace builder API

Members

WorkspaceBuilder

WorkspaceBuilder ( server : Server , readinessTimeout : TimeSpan? , paneReadiness : PaneReadiness )
method [source]
method [source]
WorkspaceBuilder

Initializes a builder against one server.

Parameters
  • server ( Server ) – The server the session is built on.

  • readinessTimeout ( TimeSpan? ) – How long a pane may take to reach a prompt-like state, or null for ten seconds.

  • paneReadiness ( PaneReadiness ) – Which default-shell panes wait for readiness.

BuildAsync

BuildAsync ( workspace : WorkspaceFile , cancellationToken : CancellationToken ) → Task<WorkspaceResult>
methodasync [source]
methodasync [source]
BuildAsync

Builds a session from a workspace.

Readiness is inferred from the pane's current command and cursor position. Startup output can resemble a prompt, and a prompt left at the origin can time out; the builder never writes a readiness probe to the pane.

Parameters
Returns

What was built, and what could not be.

Raises

Discussed in Build a workspace from a file · .NET workspace internals , .NET workspace builder API

In other ports Build a session from a workspace description
Esc

Type to search.