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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

LibTmux.Workspace.WorkspaceActionKind

enum LibTmux.Workspace.WorkspaceActionKind

Names one ordered workspace operation.

Members21 members

Common operations2

  • CreateSession Creates a session with a temporary bootstrap window.
  • CaptureResult Captures the final session and created placements in a server-wide pane snapshot.

Other members19

  • CaptureBootstrap Reads the sole bootstrap window created with a session.
  • RemoveSession Removes the exact session selected during planning.
  • CreateWindow Creates a window in the selected session.
  • CaptureFirstPane Reads the first pane of a newly created window.
  • SplitPane Creates another pane by splitting a known pane.
  • SetOption Sets a session, window or pane option.
  • UnlinkWindow Removes a captured placement, destroying the window only when no other links remain.
  • MoveToBaseIndex Moves the first workspace window to the session's effective base index.
  • SendText Sends literal command text, followed by Enter when requested.
  • SelectLayout Applies a layout to the created panes.
  • SelectPane Selects a pane by its created identity.
  • SelectWindow Selects a window by its created placement.
  • OpenReadinessChannel Opens a unique cooperative readiness channel before pane startup.
  • WaitForReadiness Waits for the pane's startup program to signal its channel.
  • CloseReadinessChannel Closes the owned readiness channel.
  • ReuseSession Returns the exact existing session without mutation.
  • RunHostScript Runs an allowed host script from the resolved session directory, or from the document directory when no session directory is declared.
  • ArrangePanes Arranges existing panes to make space for the next split; failure stops application.
  • MoveToWindowIndex Moves the first workspace window to its declared session-relative index.
Esc
Search in

Type to search.

Reference previewOpen reference