Download
Threads

Terminal

Each thread has a terminal of its own, opened in the folder the thread works in. This page covers opening it, running a project's commands in it, and passing what it prints to the agent.

A thread with its terminal open under the conversation.

Open it

Press ⌘J (Ctrl+J on Windows and Linux), or choose the terminal button in the thread's header. The terminal opens under the conversation with a shell in the thread's folder: the project folder, or the thread's worktree. So a thread in a worktree runs its commands against its own files.

⇧⌘J gives the terminal the whole thread, and the same keys give it back. To have a terminal beside the conversation instead of under it, press ⌥⌘6, or use Move to side panel in the terminal's bar.

For a thread on another machine, the terminal is a shell on that machine.

Open more than one

The terminal has tabs. These work while a terminal has focus:

ActionmacOSWindows and Linux
New terminal⌘TCtrl+Shift+T
Split right⌘DCtrl+Shift+E
Split down⇧⌘DCtrl+Shift+O
Next in a split⌘]Ctrl+Shift+N
Previous⌘[Ctrl+Shift+P

When a thread works in more than one folder, the arrow beside New terminal opens the shell in any one of them.

Closing a tab kills its terminal. If a program is still running there, Solanum asks first.

See what the agent ran

When the agent has run commands, the first tab is Agent. It shows the commands the agent ran, apart from your own shells.

Run a project's commands

A project action is a saved command, such as dev, test or lint. The Project actions button, on the project card in the thread's header, runs the one you used last, and so does ⇧⌘R. Its menu runs the others, and adds or edits them.

Each action runs in a terminal tab of its own, in the thread's folder, so a thread in a worktree gets its own dev server. Running an action that's still going shows its tab. Once it has ended, Run again starts it over.

Actions belong to the project folder, so every workspace with the project shares them. A repository can also declare actions for everyone who clones it, in solanum.json.

Work with a command's output

In zsh, bash, fish and PowerShell, each command you run is a block, with a dot beside its prompt that turns red when the command failed. Hover a block for three actions:

Add to chat

Puts the command and its output in your next message to the agent.

Run again

Runs the command again, once the shell is back at its prompt.

Copy output

Copies what the command printed.

To send only part of the output, select it and press ⌘L (Ctrl+Shift+L). The selection is added to the next message.

⌘A (Ctrl+Shift+A) selects everything the terminal keeps, its scrollback too. ⇧⌘Home jumps to the start of the output, and ⇧⌘End back to the latest.

Links a program prints open when you click them. Where they open, in Solanum's browser beside the thread or in your default browser, follows Open links in on the Browser page in Settings. ⌘-click, or Ctrl-click, opens a link in your default browser either way.

Settle a thread

Settling a thread stops its shells that have nothing running in them. Their tabs stay and show what they printed, and a new shell starts when you open one again.

Change how it looks

The terminal takes its colors from your theme. Its font is on the Appearance page in Settings: it follows the code font unless you give it one of its own.

Every shortcut on this page can be changed. See Keyboard shortcuts.