Split panes
Split a tab into up to four terminals, move between panes and close them, and send your input to all connected sessions at once in broadcast mode.
A tab can show up to four terminals at once, side by side or stacked. Every pane runs its own session, so you can follow a log in one pane while you work in another, or put two servers next to each other. Broadcast mode goes one step further and sends what you type to all connected sessions of the window.
Split a tab
| Command | Shortcut | Where else |
|---|---|---|
| Split right | ⌘DCtrlD | Rail, View menu, command palette |
| Split down | ⌘⇧DCtrlShiftD | Rail, View menu, command palette |
The new pane opens the same connection as the focused pane, as a separate session: kaiport opens a second SSH connection and logs in again. The new pane gets the focus.
If the focused pane shows the new tab page, the new pane shows the new tab page as well. Pick a connection in each pane to put different connections next to each other.
A tab holds up to four panes. Tabs of storage connections (FTP, S3, WebDAV, Azure) can't be split.
Layout
All panes of a tab share one direction and get the same size. Split right puts all panes side by side, Split down stacks all of them – the direction of the last split applies to the whole tab. The size of a single pane can't be changed.
Work with panes
- Each pane has a header with a status dot, its title – the title set by the shell or program, otherwise the connection name – and a button to close it.
- Click into a pane to focus it, or press Next pane ⌘⌥→CtrlAlt→ to move on to the next one; after the last pane it starts over with the first. The focused pane has a colored frame. On Windows and Linux, the terminal passes CtrlAlt→ to the shell, so click into the pane instead.
- The tab shows the number of panes next to its title.
The status bar, the AI Pilot panel and the file browser always refer to the focused pane, and so do Search, Clear terminal, Reconnect and Duplicate tab. The tab title shows the connection of the focused pane. Each pane has its own AI Pilot conversation.
Close a pane
View → Close pane ⌘⇧WCtrlShiftW closes the focused pane and ends its session. The × button in a pane's header closes that pane. When you close the last pane, the tab closes.
Broadcast mode
Broadcast mode sends your keystrokes to several sessions at once.
- Click Send input to all tabs in the tab bar, or choose it in the command palette.
- Type in any terminal of the window.
- Click Send input to all tabs again to turn broadcast mode off.
While it's on, every keystroke and every paste goes to all connected panes in all tabs of this window, including the pane you type in. Panes that aren't connected are skipped, and other windows aren't affected. The button stays highlighted, and the status bar shows the badge Send input to all tabs. Every new window starts with broadcast mode off.
Only what you type or paste is mirrored. Snippets and history entries from the command palette, Insert into terminal in AI Pilot and the commands AI Pilot runs go to the focused pane only.
Use cases
- Watch and work: follow a log with
journalctl -fortail -fin one pane and edit the configuration in the other. - Two machines side by side: open a new tab with ⌘TCtrlT, split it, then pick a different connection in each pane – for example the staging server on the left and the production server on the right.
- Same command on several servers: open each server in its own tab, turn on broadcast mode and run a command such as
uptimeordf -hon all of them at once. - Build and test: start a build or a development server in one pane and run tests or
curlrequests in the other.
Related: