Skip to content

Terminal, tabs and panes

Agents and shells run in Drakkar’s terminal. Each tab holds one or more panes, and each pane runs an agent or a shell. Tabs sit in a strip over the work area; the status bar under it shows where the focused pane is and, for an agent, its model, context and limits.

The Drakkar window: the tab strip with five tabs, the validate-urls tab open with 2 panes; on the left the claude pane asks to edit bookmarks/store.py, on the right a zsh pane runs the tests; right of the tabs the + button and the Split right and Split down buttons; the status bar at the bottom shows the workspace folder, the branch validate-urls → main and zsh
A tab with two panes: the agent on the left, a shell in the same workspace on the right.

Press ⌘T or click + at the end of the strip. A menu lists the agent and Shell: press 1 for Claude, 2 for a shell, or ↵ for a shell. The tab opens in your branch, which the menu’s heading names. File › New Shell Tab and File › New Claude Tab do the same without the menu.

When the project is also on a server, the menu has a section per machine, This Mac first: pick the agent or shell under the machine it should run on. A machine that doesn’t answer stays in the list, greyed out.

To open a tab in a workspace, click the workspace’s row in the sidebar. If it has no tabs, a menu offers New claude tab and New shell tab.

  • ⌘} and ⌘{ go to the next and previous tab. Drag a tab to move it along the strip. When the tabs don’t fit, ▾ at the end of the strip lists all of them.
  • ⇧⌘T reopens the last tab you closed in your branch, in its old place and with its splits. Agents in it continue their sessions.
  • Right-click a tab for Rename tab…, Split right, Split down, Close tab and Close other tabs. Renaming a workspace’s tab changes only the tab’s title; the workspace keeps its name.

Close other tabs closes every tab but this one, the tabs of other machines in the strip too. Tabs with nothing running close at once. For the rest Drakkar asks first, as below: first about tabs with running programs, then about working agents.

Press ⌘D to split the tab to the right, ⇧⌘D to split it down, or click the split buttons right of the strip. A menu asks what runs in the new pane: Claude or a shell, picked with 1, 2 or ↵ as for a tab. The new pane opens in the tab’s folder: a workspace’s tab splits into the same workspace.

Right-click a pane’s header for Split right…, Split down…, Move to new tab, Move to tab… and Close pane.

  • ⌘] and ⌘[ focus the next and previous pane; ⇧⌘ with an arrow focuses the pane on that side.
  • ⌃⇧⌘ with an arrow swaps the focused pane with its neighbour on that side.
  • ⌘W closes the focused pane, and the tab with its last pane.

Drag a pane by its header. Drop it on another pane: the edges place it beside that pane, the middle swaps the two. Drop it on a tab in the strip and it joins that tab as the right half; rest on a tab that isn’t shown and it opens. Drop it between two tabs and it becomes a new tab there. The lit frame shows where the pane will land.

A pane split into drop zones: a band along each edge, a quarter of its width or height, puts the dragged pane left of it, right of it, above or below it; the middle swaps the two panes. Above, the tab strip: dropped on a tab, the pane joins it as the right half; dropped between two tabs, at the orange insertion marker, it becomes a new tab.

A pane moves only between tabs of the same branch or workspace: a tab of another workspace refuses it and says ws-2 is another copy. When the last pane leaves a tab, the tab closes.

  • ⌃⌘T (Move pane to new tab) moves the focused pane to a new tab right after this one. It works when the tab has more than one pane.
  • ⌃⇧⌘T (Move pane to tab…) lists New tab and the other tabs of the same branch or workspace. Press a digit or ↵ to put the pane in the right half of the tab, ⇧↵ for the bottom half.

Closing a tab whose agent is working, or waiting for you, asks Close ✻ name? with three answers:

  • Keep running in the background (↵): only the tab closes. The session goes on, and the workspace stays in the sidebar with its status; click it to open the tab again. A tab of your branch stays under your branch in the sidebar.
  • Stop claude: the agent stops and the tab closes.
  • Cancel.

Tick Don’t ask again to keep agents running from then on. The switch is Settings › General › Ask before closing a tab with a working agent; when it is off, the tab closes and its agent keeps running.

A pane or tab with a running program, such as a dev server, asks Close the pane? or Close the tab? and names the program. A pane at the shell prompt closes without asking. This question has its own switch in Settings › General; see Settings.

Press ⌘F in a terminal. A card opens over the top right of the pane; type, and it counts the matches from the top, such as 3 of 17, or says No matches. Text you selected before ⌘F goes into the field.

  • ↵ or ⌘G goes to the older match, up the output; ⇧↵ or ⇧⌘G to the newer one. ⌘G and ⇧⌘G also work after you click into the terminal.
  • Esc in the field closes the card. In the terminal, Esc belongs to the program: an agent stops on it.

The search ignores case and has no regular expressions.

⌘-click a link in the output. A web address opens in your browser. A file path opens the file in its default app: the path can be absolute, start with ~, or be relative to the pane’s folder, and may end in :line or :line:column, as compilers and agents print them. The line number is dropped, and so is a period after the path at the end of a sentence.

In a terminal on a server, only web links open: paths there name files on the server.

View › Bigger (⌘+) and View › Smaller (⌘-) change the text of the focused pane. View › Actual Size (⌘0) brings it back to the size set in Settings › Appearance › Terminal font size. The terminal font and the size of new panes are set there too.

When the agent’s program ends, a strip under its output says claude exited, with the exit code and time when the code isn’t 0. Its last output stays above.

  • Restart (↵) starts the agent again: it continues the same session if there was one, or starts a new one.
  • Open shell here opens a shell in the same folder.

When a workspace is merged or deleted while its tab is open, the strip says so, such as ws-3 merged into main and deleted. Resume (↵) continues the conversation in the branch it was merged into, or in your branch; Close tab closes it. If a terminal didn’t start, Retry starts it again. Other messages are on Troubleshooting.

The bar under the work area shows the focused pane’s folder and branch, such as validate-urls → main, then the terminal’s size in columns and rows and its shell. For an agent pane it also shows what the agent reports:

Opus 5.5 (Concise) · high · 51% of 1M · 5h 12% → 18:00 · week 29% → Sat 04:00

That is the model and its output style, the effort, how full the context window is, and the share used of the 5-hour and weekly limits with the time each one starts over. The shares turn yellow from 50% and red from 75%. Hover over the line to see the tokens, such as 514.8K of 1M tokens. In a narrow window the line gives way step by step: the effort, the reset times, the window size, the output style, then the model; the shares always stay.

Choose what it shows in Settings › Agents › Show: Model, Effort, Context, 5h / week limits and Cost; all but Cost are on. A status line you set up in Claude Code yourself still shows under the agent’s prompt.

Once an agent’s context is half full, its sidebar row also shows a short bar with the share, such as 81%, in the same colours; hover over it for Context 81% full.

While Drakkar works in the background, the right end of the status bar shows a progress bar, and 3 tasks when there are several. Hover over it to see the main one; click it for the list. Such tasks are a workspace’s setup and teardown, erasing a deleted workspace, a push, sending files to a server, updating Drakkar on a server or moving a workspace to another machine.

The list groups the tasks by machine, This Mac first. Each row has a bar, the place it runs in and a detail; Cancel stops a task that can be stopped. Click a row to open the window that shows the task, where it has one. Esc or a click outside closes the list, and it closes by itself when the last task ends.

All of these can be changed in Settings › Keymap; see Keyboard shortcuts.

Keys Action
⌘T New tab…
⇧⌘T Reopen closed tab
⌘} ⌘{ Next tab, previous tab
⌘D ⇧⌘D Split right…, split down…
⌘] ⌘[ Next pane, previous pane
⇧⌘← ⇧⌘→ ⇧⌘↑ ⇧⌘↓ Focus the pane on that side
⌃⇧⌘← ⌃⇧⌘→ ⌃⇧⌘↑ ⌃⇧⌘↓ Swap with the pane on that side
⌃⌘T Move pane to new tab
⌃⇧⌘T Move pane to tab…
⌘W Close pane

These keys are fixed:

Keys Action
⌘F Find in the terminal
⌘G ⇧⌘G Older match, newer match
⌘+ ⌘- ⌘0 Bigger, smaller, actual size
⌘-click Open a link or a path