Terminal tabs and split panes
Open several sessions in tabs, split a tab into up to four panes, and manage tabs from the right-click menu.
Every terminal you open in Duo22 gets its own tab, and each tab is a separate session. Closing one tab never affects the others.
Working with tabs
Each tab has a coloured status dot: yellow while connecting, teal when connected, orange while reconnecting, grey when closed and red after an error. The terminal’s header shows the same status as a badge: Connecting, Connected, Reconnecting, Closed or Error.
Right-click a terminal tab to get these options:
- Reconnect: shown when the session has closed or failed. It reconnects in the same tab and keeps the output.
- Duplicate tab: opens the same host again in a new tab.
- Split right and Split down: add a pane showing the same host.
- Close tab, Close other tabs and Close tabs to the right.
You can also close a tab with its × button or by middle-clicking it. On a Mac, ⌘W closes the current tab, and ⌥⌘→ and ⌥⌘← move to the next and previous tab.
Colouring tabs by host tag
To make production servers stand out, go to Settings → Tabs → Colour tabs by host tag. A tab for a host with a matching tag gets a coloured edge and shows the tag, and the terminal area gets a coloured frame. If a host has more than one matching tag, the first matching rule in the list wins.
By default there are three rules: prod and production in red, and staging in orange. To add a rule, type a tag in the Tag, e.g. prod box, click Add, then pick a colour. Remove a rule with its bin button.
Splitting a tab into panes
A terminal tab can hold up to four panes, side by side or stacked.
- In the terminal’s toolbar, click the Split button. You can also right-click inside the terminal.
- Choose Split right or Split down.
- Pick what to open in the new pane:
- This host again: a second session on the same host.
- SFTP browser: a file browser for this host. This is only offered for SSH hosts.
- Any other terminal host in your vaults.
Drag the divider between panes to resize them. When a tab already has four panes, the Split button is greyed out and its tooltip says This tab has as many panes as it can.
To close one pane, click its Close pane button (×) or right-click it and choose Close pane. Closing the tab closes all of its panes.
Reopening your tabs after unlocking
Turn on Settings → Tabs → Reopen my tabs after unlocking if you want your tabs back after a lock or restart. The tabs that were open when Duo22 last locked or quit open again and connect to their hosts. This is kept on this device only.
To keep a set of tabs you can reopen whenever you like, click the Workspaces button in the tab bar and choose Save open tabs as a workspace….
Still stuck? Check the FAQ, or browse thehelp centre.