Session restore

Reopen your terminals where you left them

Your workspaces, layouts, folders and recent output come back when you reopen the app.

A restored TerminalSpace workspace with three terminals

What comes back

Quit and reopen TerminalSpace, and you get back:

  • Your workspaces, layouts and pane sizes
  • Each terminal's name, theme and folder
  • Its recent output, with colors

A dim line marks where the old session ended and the new shell began.

Running programs are not restored. Quitting ends every shell, with no warning, even during a long command. A new shell then starts in the same folder.

Close the window, keep your shells

Closing the window with the red button does not quit. Your shells keep running, and clicking the Dock icon brings the window back.

Your settings

Open Settings > General > Sessions.

Setting What it does Default
Restore previous output when TerminalSpace reopens Saves and replays output On
Scrollback lines From 1,000 to 200,000 10,000
Ask before deleting a workspace Confirms first On

Press ⌘ K to clear a terminal's history.

Good to know

  • Output is saved when you quit normally, so a crash or force quit keeps the older copy.
  • Saved output is plain text on your Mac, including anything sensitive that was printed. Turning the setting off stops saving but does not delete existing files. See your data.
  • If a full-screen program such as vim is open when you quit, its screen is what gets saved.
  • A new Scrollback lines value applies to terminals you create afterward.

Get TerminalSpace

Terminal workspaces for your Mac.