---
title: "Terminal in the center"
description: "Open a full terminal in the workspace’s center, restore its tabs after a restart, and start a tab from a command you keep in Settings."
url: "https://micromanager.win/docs/center-terminal"
updated: "2026-11-12"
---

# Terminal in the center

A setting puts a full terminal in the workspace’s center. New tabs can start from commands you keep in Settings, and those tabs come back after a restart.

Updated 12 November 2026

## How do I turn it on?

In **Settings → General**, turn on **Show a terminal in the center**. Then press **⌘⇧T** (Ctrl+Shift+T on Windows and Linux), or choose **Terminal in the Center** in the command palette. The chat gives way to a terminal of that workspace. Press the shortcut again, or **Show chat**, to go back.

Reopening a closed chat tab is **⌘⇧Y** (Ctrl+Shift+Y).

## What happens after a restart?

Terminal tabs in the center come back the same way as the drawer under the workspace: a shell starts again in the folder it was in, under what it last showed. Run and setup output stays in the drawer.

## How does a new tab start from a command?

**+** in the center lists your presets. Each row shows the full command. The first time you pick one that runs a program, microManager shows that command and waits for **Start**.

The shipped list is Claude, Codex, OpenCode, Amp, Pi, Copilot, Gemini, and **None** (a plain shell). An agent running in a terminal tab does not need ACP. You can reorder or remove them under **Settings → General → Presets**, or enter a name and command and choose **Add preset**. Those commands live in your settings. Nothing in a repository chooses them.

**Ask before Claude and Codex use tools** (on by default) chooses how those two start:

- On: `claude`, and `codex` with high reasoning effort.
- Off: `claude --dangerously-skip-permissions`, and `codex` with high reasoning effort, never asking for approval, and full-access sandbox.

The other shipped commands stay the same either way. Copilot always starts with `--allow-all`, Gemini with `-y`.

If the program is not installed, microManager says so. It does not open a shell that would fail.

A custom preset is a program and its arguments. Nothing is expanded by a shell: dollar signs, pipes and single quotes are literal characters.

Spaces separate arguments. Double quotes group text; `""` keeps an empty argument in its place. Inside double quotes, `\"` means a literal quote and `\\` means one backslash. Other backslashes stay literal, as do all backslashes outside quotes. Tabs and line breaks also separate arguments outside quotes. A quote that never closes, or a hidden control character, is refused.

For example, `agent "" next` passes an empty argument before `next`. `agent "C:\\folder with space\\"` passes `C:\folder with space\`, including its final backslash. Settings shows commands using this same quoting, so copying a displayed command back into the field keeps every argument.

A custom program is either a name on your login-shell PATH or an absolute path. A relative path with a folder, such as `bin/agent` or `./agent`, is refused when you save it and when you start an older saved preset. On Windows, a path must include its drive or a full network share. The app starts the absolute file it found on PATH; it never looks for that program in the workspace folder.

Your agreement applies to that exact command. If the preset or the tool-approval setting changes while the question is open or the terminal is starting, nothing starts until you confirm the current command again. An older saved acknowledgement without the exact command asks once more.

On Windows, presets installed as `.cmd`, `.bat` or `.ps1` scripts use their interpreter. Arguments keep their quotes and spaces. A batch command cannot contain a line break. In a network folder, a batch preset uses the PowerShell script installed beside it; if there is none, the app explains why it cannot start there.

While a preset program runs, the quit question names it and automatic updates wait. The keep-awake setting covers it too. A plain interactive shell does not count as running work; after a restart, a saved preset tab opens a plain shell under its saved output and does not start the command again.

A tab does not start if its workspace began archiving while the shell or command was being prepared. This also applies to restored tabs and agent sign-in terminals.

## Where is the drawer?

**⌘J** (Ctrl+J) still opens the terminal drawer under the workspace, for shells, run scripts and setup. The center panel is a second place for shells of that workspace.

Each panel keeps its own selected tab. `@terminal` quotes the panel you last focused, or the only one open. Closing the center leaves the drawer available to quote. If both are open and neither has had focus yet, click a terminal first.

## What happens when I paste?

Hidden controls and embedded paste-ending markers are removed. If your shell has not enabled bracketed paste, pasting several lines shows the full text and asks first: each line could run a command. **Cancel** sends nothing. The Edit menu, native paste and Ctrl+Shift+V on Windows and Linux use the same check.

Links printed as addresses open with Cmd-click (Ctrl-click on Windows and Linux). Terminal control sequences cannot turn a different label into a link: OSC 8 links are ignored.

Replaying output disables terminal replies until that text has been drawn. Only one view answers live requests; another view cannot type duplicate answers into the program. Output nobody has displayed yet can still receive its first answer, including the Windows terminal startup handshake. Typing, paste and Ctrl+C always reach the program immediately, even while another view is drawing or replaying output. If the view answering a live frame closes partway through, another attached view finishes its unanswered requests. Answers already sent are not repeated.

A terminal sends another output frame only after the window draws the last one. A slow window pauses the PTY; if buffered output still exceeds its limit, a visible “output skipped” line marks the gap. Hidden tabs detach and redraw from the bounded output history when shown, so background scripts keep running.

Closing a saved tab during shell preparation cancels that start. Reopening the same tab twice shares one start, and the workspace and open tab are checked again before any process starts. If archiving closes the tab during preparation, the error describes the unavailable workspace.

Saved terminal tabs keep the completed run’s exit code or stop signal. A run still working when the app closed is shown as interrupted after a restart. Reopening a shell starts a new result.

A saved terminal or setup log that cannot be read shows an error with Try again. Startup continues if a log cannot be scanned; opening that tab still reports the read failure. The saved Setup log and its read error belong only to the drawer; they never add a tab to the center terminal.

Send selection to chat shows that chat before adding the quoted text and focusing its message box, even when a file tab, a diff or the center terminal covered it.

Terminal tabs have one tab stop per panel. Left/Right, Home and End select tabs; Delete closes the focused tab. Each tab names its output panel. The drawer and center keep their own selection across restarts.

Settings → General → Terminal screen reader defaults to Automatic, following the system’s assistive technology state. On and Off override it for both live terminals and saved logs, including terminals already open.

On Windows, PowerShell script presets keep each argument whole, including literal quotes around words and arguments that contain only spaces.

Saved preset commands in Settings keep repeated spaces when displayed and copied. Long commands still use an ellipsis; copying the text back into a preset preserves its arguments.

If the final shell-folder lookup times out, shutdown saves the authenticated shell report or the last folder the operating system verified. A stalled lookup does not discard that known folder.

Settings → General → Terminal scrollback uses one 1–50 MiB allowance per terminal, default 10 MiB. Live replay and filtered saved output keep that many UTF-8 bytes; existing live buffers shrink immediately. Saved logs use the current limit when read, and live terminals rewrite their smaller tails on the next save. The terminal window estimates rows at four text bytes per cell and recalculates on resize; screen content, escape sequences and character widths mean its visible history is approximate. This is an output allowance, not a cap on total process memory. File settings cannot change it.

## Where to go next

- [Setup, run and archive scripts](https://micromanager.win/docs/scripts)
- [Local server previews](https://micromanager.win/docs/local-preview)
- [Workspaces](https://micromanager.win/docs/workspaces)
