Concepts
Server, session, window, pane
Navigate captured sessions, windows, and panes, and refresh their state.
Filtering and queries
Combine predicates, handle result counts, and match related windows.
Commands and control mode
Run bounded commands and manage a persistent control client.
Layouts and repeated setup
Create a split window and reuse a named window safely.
Use these concepts to reason about Kotlin handles, selection and command execution. Each page includes complete programs with imports, project files, run commands and cleanup.
For individual types and operations, open the API reference. For a first connection, start with attaching to tmux.