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.
Module hierarchy, data flow, and internal identifiers.
Code running inside a pane asking which pane, window, session, and server it is in.
Query and filter collections by attributes.
Send keys, capture output, and interact with panes.
Create and position floating (overlay) panes on tmux 3.7+.
Create sessions, windows, and panes programmatically.
Common patterns for scripting and automation.
Automatic cleanup with temporary sessions and windows.
Get and set tmux options and hooks.
Attached terminals, live-attachment lookup, and the view-vs-identity model.
Scope- and version-gated typed fields on every libtmux object.