One terminal is not enough anymore
Coding agents got good enough to work in parallel. Our tools didn’t. Here is the idea behind PaneScale.
Design notes on the resizable terminal grid in PaneScale 0.2 — seams, crossings, snapping and why the shape is saved per workspace.
The first versions of PaneScale had fixed layouts: one, two, four, six, nine, twelve or sixteen equal panes. Equal is a good default and a poor reality. One agent is doing the main work and deserves half the screen; two others are running tests and only need a strip; the docs pane can be tiny.
Version 0.2 made every part of the grid draggable. Here is how it behaves, and why. (The layout menu has grown since: today it offers 1, 2, 4, 6, 9, 12, 16, 20, 25 or 30 panes.)
Every line between two columns or rows is a seam you can drag. Where a vertical and a horizontal seam meet is a crossing — drag it and both move at once, which is how you usually want to resize a corner pane. The dock next to the grid has a seam of its own.
Crossings exist because of how people actually resize. You rarely want “this column wider” on its own; you want “this pane bigger”, which means a column and a row together. A crossing turns two drags into one, and a large, easy-to-hit target makes it fast — the same reasoning behind Fitts’s law, which says the time to reach a target grows with its distance and shrinks with its size.
While you drag, seams snap to even positions: halves, thirds, quarters. Snapping makes it easy to get back to a tidy layout and hard to end up with a column that is three pixels narrower than its neighbor for no reason. When you want a seam somewhere snapping wouldn’t put it, hold Alt while dragging and place it freely.
Two ways, because you will need it more often than you think:
Both distribute the space evenly along that axis again. Distribute evenly in the layout menu resets the whole layout at once.
Seams are focusable. With one focused, the arrow keys move it in steps of 24 pixels, and with Shift in steps of 4. This makes the grid usable without a mouse, and it makes fine adjustments easier than dragging.
The pattern is a familiar one: accessibility guidelines describe a resizable divider between two panes as a window splitter, a focusable element that arrow keys move and Home resets. Following an established pattern means people who navigate by keyboard or screen reader find the behaviour they expect.
A pane can be dragged small, but not useless. Columns never get narrower than 160 pixels and rows never lower than 96, so a header and a few lines of output always stay visible. The limit is about the status: even a tiny pane has to tell you whether its agent is working, done or waiting for you.
The shape of a grid is saved per project and per layout. Your six-pane arrangement for the web app doesn’t change the six-pane arrangement for the API, and switching from six to four panes and back restores the six-pane shape you had.
We considered one global shape. It lasted about a day — different projects really do want different arrangements.
When you switch to a smaller layout, panes that no longer fit move up into free cells. Nothing is closed without asking. When you switch back, the grid fills up again.
Resizing is half of arranging. The other half is moving panes around:
Together these cover the moments when one pane suddenly matters more than the rest: a long diff to read, a question to answer, a failing test to watch.
A few arrangements come up again and again:
| Shape | Good for |
|---|---|
| One large pane, two narrow ones beside it | One agent doing the main work, two others running tests or answering questions |
| Two wide panes on top, three short ones below | Two agents on related tasks, plus shells for builds, logs and the dev server |
| Four equal panes | Four independent tasks of similar size, each in its own lane |
| Nine or more small panes | Many short, checkable tasks — with the dashboard telling you which one needs you |
None of these is a template you have to choose; they are just where people end up after a few days of dragging.
A grid of sixteen busy terminals is a lot of text arriving at once. Two decisions keep it smooth. All terminal output travels through a single channel and is drawn once per frame, no matter how many panes are busy. And not every terminal is drawn the same way: the focused terminal and terminals with a lot of output use the GPU, while quiet panes use a lighter renderer, so many panes stay cheap.
The grid is the part of PaneScale you look at most. It should feel like yours.
Coding agents got good enough to work in parallel. Our tools didn’t. Here is the idea behind PaneScale.
An overnight run is only as useful as what it leaves behind. The rules behind PaneScale’s morning report, and how to review one in ten minutes.
Why Video Studio describes every scene as a small canvas function — and the determinism check that keeps preview and export identical.