Topics

Explore libtmux’s core functionalities and underlying principles at a high level, while providing essential context and detailed explanations to help you understand its design and usage.

Architecture

Module hierarchy, data flow, and internal identifiers.

Architecture
Traversal

Navigate the Server, Session, Window, Pane hierarchy.

Traversal
Filtering

Query and filter collections by attributes.

QueryList Filtering
Pane Interaction

Send keys, capture output, and interact with panes.

Pane Interaction
Workspace Setup

Create sessions, windows, and panes programmatically.

Workspace Setup
Automation Patterns

Common patterns for scripting and automation.

Automation Patterns
Context Managers

Automatic cleanup with temporary sessions and windows.

Context Managers
Options & Hooks

Get and set tmux options and hooks.

Options and Hooks