Mooring docs

Tabs & sessions

Every tab is a real terminal that keeps running in the background, so your sessions carry on after you quit Mooring.

A tab in Mooring is either a shell tab or an agent tab, such as Claude Code. Each one is a real terminal, drawn by the same engine as Ghostty. Behind each tab, Mooring keeps a terminal session running in the background. That session is what lets a tab carry on while Mooring is closed, so these docs use "tab" and "session" almost interchangeably.

Open a tab

New tabs start from the + after the last tab:

  • Click + to open a shell in the project, or in the worktree you have selected. The new tab appears right beside the +. Shortcut: ⌘T.
  • Click ⌄, beside the +, or right-click either one, for a menu of Shell, your agents, such as Claude, and Edit Agents…. Point at an agent to see what it starts. ⇧⌘T starts your default agent.

Edit Agents… opens Settings ▸ AI Agents. See Agents.

A tab's menu

The selected tab looks like a folder tab: it takes its terminal's colours and runs straight into it. The ✕ that closes a tab shows on the selected tab and on the tab under the pointer.

Right-click a tab to rename it, move it to another worktree, choose its terminal theme or close it. You can also click ⋯ at the end of the tab strip, or click the selected tab's icon. Close the selected tab with ⌘W.

A terminal theme for one tab

To give one tab its own terminal colours, right-click the tab and choose Terminal Theme, or choose View ▸ Terminal Theme for the selected tab. A tab with its own theme shows a small colour chip, and a new tab takes the theme of the tab you opened it from. See Themes and colours.

Quitting keeps sessions running

Mooring is designed to keep your sessions running after you quit. When you press ⌘Q with sessions open, Mooring asks what to do:

  • Keep Running (the default) leaves every session working. Your tabs are there when you open Mooring again, with the same scrollback and the same Claude conversation.
  • Close All gives each session the chance to finish on its own, then closes it. A Claude session saves its conversation first. This also clears your tabs. Past conversations stay in the Sessions window (⇧⌘Y), ready to resume.
  • Wind Down, Then Quit appears when Claude is working near a plan limit. See Claude usage and plan limits.
  • Cancel stays in Mooring and quits nothing.

To stop the question, select Don't ask again, or choose an answer in Settings ▸ General ▸ Sessions under When quitting Mooring.

Sleep and restart

  • Sleep: nothing runs while your Mac sleeps. When it wakes, each tab reconnects to its session. If a session ended during sleep, its tab starts again as it does after a restart, and a Claude tab picks up the conversation it was in.
  • Restarting your Mac ends every session, but not your tabs. Next time you open the project, each shell tab starts a fresh shell in the same place, and each Claude tab picks up the conversation it was in, with the same settings it started with. There's nothing to click.

See Session attach for more.

Tabs and worktrees

Each tab belongs to one worktree of its project, or to the project's main folder. Click a worktree's row in the sidebar to see its tabs. New tabs open in the worktree you're viewing.

To move a tab to another worktree of the same project, drag the tab onto that worktree's row in the sidebar, or right-click the tab and choose Move to Worktree. The session keeps running while it moves.

Agent tabs and shell tabs

An agent tab starts Claude Code, or a command you set up, instead of a plain shell. See Agents for what Mooring adds to a Claude tab, and Status badges for how Mooring shows which tabs are running and which need you.