Focus reader

Brief

When a pane is too small to read, press Alt+R. A panel opens across most of the window, everything behind it frosts over, and the pane's text is laid out again at the pane's own letter size across the whole panel, so a narrow pane opens with as many columns as the panel holds.

What it shows depends on the pane. On a Claude Code or Codex pane, it reads the conversation from the agent's own transcript: your messages and its replies whole, each tool call one row, with the agent's input box live at the foot. On a pane showing a document, it shows the document. On a shell, it shows the scrollback, joined where the terminal wrapped it. A chip in the header says which.

Your typing still goes to the pane, so you can read an agent's answer at a comfortable size and reply without closing anything. The A──A slider, or Ctrl and the wheel, sizes the letters. Esc, or a click on the frosted area, closes it.

Technical has the sources, the keys, the size and the backdrop.

Technical

The reader

The panel is 80% of the window each way, at least 320 by 240, with the header 👓 FOCUS · <pane title>, a chip naming what it reads, an Inherit theme switch, the A──A size slider and esc to close. Opening it on another pane replaces the one open. On a pane showing its workbench, Alt+R reads the terminal behind it.1

What it reads#

ChipWhenShows
TRANSCRIPT · liveA Claude Code or Codex pane whose session Terminal Delight has matched to its transcript for certainThe conversation, read from the file as the agent writes it
SCREEN · transcript not boundAn agent pane with no certain match, or one in text crawlThe screen and its scrollback; never a guess at which transcript is this pane's
SCROLLBACKA shell, or any program on the main screenThe whole history, rows joined exactly where the terminal soft-wrapped them; what a program broke itself, like ls's columns, stays as printed
ALTERNATE SCREENA full-screen program such as vim or htop, which keeps no historyThe screen

A pane showing a document lends it to the reader, which draws the pane's own document view at the panel's size: its notes, links and place stay the pane's, and the keys still page it. A document reads flat, so Inherit theme isn't offered there.1

A conversation#

Your messages sit under YOU, the agent's under its own label, CLAUDE or CODEX. A reply's Markdown is drawn as text: headings bold, lists with their markers, code behind a gutter, tables as aligned columns. Each tool call is one row, ⚙ Read app/src/doc.rs → 40 lines, and a click opens or closes its output. Thinking, background notifications and command output nobody typed are left out, and a divider marks where the conversation was compacted. A long tool output is kept to its first 400 lines or 64 KiB, with a count of the rest.2

Under the conversation, the pane's own status line and input box are drawn live, so the turn in flight stays visible and what you type reaches the agent. A conversation with nothing in it yet says Nothing has been said here yet.

On a Claude Code or Codex pane, Ctrl+↑ and Ctrl+↓ open the same conversation inside the pane itself, under CHAT HISTORY · <pane title>, landing on your previous or next message. Stepping past your newest message, Esc, or switching tab returns to the live terminal. Nothing is sent to the agent while you move. In every other program the two keys reach it as usual.3

Keys and mouse#

Escclose
PgUp PgDnabout nine-tenths of a screen
Ctrl+Home / Ctrl+Endoldest / newest; the newest end follows new output again
anything elsegoes to the pane
wheelscrolls the reader, then the pane's own scrollback at either end
Ctrl+wheel, Ctrl+= / Ctrl+-the reader's letter size, 10% a notch
dragselects; letting go copies
click outsideclose

It opens at the newest line and follows output. Scrolling up stops the following; coming back to the bottom starts it again.

Size#

The reader lays text out at the pane's own letter size, across the whole panel, and long lines wrap to its width. The A──A slider and Ctrl+wheel move the letters from 0.5× to 2.5× of the pane's, and the size goes back to 1× each time the reader opens. A pane in text crawl, which never wraps, is fitted into the panel instead. A short read sits in the middle of the panel.1

Inherit theme#

Off by default. On, the reading area is warped and glared like its pane, at the pane's warp; the header stays flat. The choice is kept with the session. A pane in text crawl keeps its crawl font and centring in the reader but isn't tilted, wrapped or selectable.

The backdrop#

Everything outside the panel is dimmed and blurred by the same renderer pass as the warp: 32 samples spread in a golden-angle spiral, a sharp rounded edge around the panel, and a faint cool tint, easing in over about 220 ms. While the reader is open, no pane is warped. The conversation inside a pane, from Ctrl+↑, has no backdrop.

Taking Alt+R means the shell's own Alt+R, readline's revert-line, doesn't reach it.

What would prove this wrong#

Open the reader on an agent pane whose chip says TRANSCRIPT · live. If any message in it came from a different session than the one running in that pane, the rule that a transcript is read only when it is matched for certain has failed.

Sources

  1. The reader, its panel, size and document view: main.rs; the chips: docopen.rs; history kept between reads: readrows.rs; the blur: 0002-focus-blur.patch.
  2. Reading Claude Code transcripts and Codex rollouts: transcript.rs; the labels: lang.rs.
  3. The keys, and which chords the window takes: keylayer.rs.