Examples
Create windows and panes
Create a session with two windows, then query a captured snapshot.
Check command completion
Run a shell command and verify its authenticated nonzero exit status.
Wait for a service
Wait for an HTTP readiness line and check the service responds.
Run a complete program for the task you need. Each page includes the entire program, dependency setup, a run command, expected output, and cleanup. The examples create private tmux servers and leave existing sessions alone.
Start with create windows and panes, then choose another task.