libtmux lets you create sessions, arrange windows and panes, send commands, and read output from tmux. Start with the object hierarchy, then read about the transport, query, or workspace behavior your program needs.
These pages explain shared concepts and differences between language ports:
- Server, session, window, pane: tmux’s object hierarchy and attached clients.
- Control mode vs one-shot: subprocess commands, persistent connections, and batching.
- Filtering and queries: find objects and handle absent or ambiguous matches.
- Workspaces: build pane layouts from code or configuration files.
Use the header’s port links to open documentation for your language, including its API reference.