Examples
Start with Capture pane output for a standalone program with imports, Gradle files, and private-server cleanup.
For an existing server, use Attaching to tmux.
That program includes the imports and build files. It reads a session without
stopping the server that owns it, or starts and stops a private server of its
own when LIBTMUX_SOCKET_PATH is unset.