How btmux works
A server and its clients
Section titled “A server and its clients”The server runs your shells. Each desktop window or browser tab is a client. Reconnect from any client while the server is running to resume your session.
The desktop app can start its own server. You can also connect to a server on another machine.
Sessions, windows, panes
Section titled “Sessions, windows, panes”A session groups windows, which work like tabs. Each window contains one or more panes, each with its own shell.
What clients share
Section titled “What clients share”- Clients viewing the same session share its active window, active pane, and terminal output. The color scheme is shared across all clients.
- Each client chooses its own session.
- Pane size follows the client that last typed, pasted, or clicked in the pane.
What survives
Section titled “What survives”| You do this | Layout | Running programs | Scrollback |
|---|---|---|---|
| Close a browser tab | Kept | Kept | Kept |
btmux upgrade to a new version |
Kept | Kept | Kept |
| Restart the server, or reboot | Kept | Lost | Lost |
| Close the last desktop window (its own server) | Kept | Lost, unless you keep it running | Lost, likewise |
After a restart, each pane starts a fresh shell in the directory it was in. See how in-place upgrades work.
Over a pane
Section titled “Over a pane”The editors and the browser cover the active pane. The file browser, process viewer, and agent view open as dialogs.
Profiles and access
Section titled “Profiles and access”Browsers sign in with the server’s access token. The desktop app handles sign-in for you. Use profiles to run servers with separate sessions.