Skip to content
Dispatch
All releases

The reply stays in view

v3.6.1

You asked Claude a question in a long session. The reply started to stream, then it slid below a green line and out of sight. The line stayed where it was. You scrolled to find the new text, and the view did not follow it. This release removes the line and makes the terminal follow the reply again. It also lets you cmd-click any markdown path that Claude prints.

See it

Dispatch v3.6.1: a long Claude reply streams in the session terminal, the view follows it, a scroll up holds the position, and a scroll back to the bottom resumes the follow

Higher-quality video: dispatch-v3.6.1-scroll-follow.mp4

The reply stays in view

The green line was a tmux pane border. It reads 0 "<pane title>" in the default tmux format. Claude Code draws it when it starts its first tmux teammate: it enables pane-border-status for the window, and it never disables it. After the team ends, the border row stays above the pane. The pane then starts on row 1. tmux scrolls a pane in that position through a partial scroll region. xterm.js only adds rows to its local scrollback when the region is the whole screen. So the scrollback stops, the border row stays fixed, and the live pane moves under it. The newest rows sit below the view.

Dispatch now installs a tmux hook on every session. When the window returns to one pane, the hook disables the border, and the pane goes back to row 0. The same reset runs when you open a terminal, so a session that was already stuck heals on the next reattach. While a team runs, the border stays on, because it labels the teammate panes. A multi-pane window cannot scroll the client in any case.

The result is the behaviour you expect from a terminal. A streaming reply stays in view. A scroll up holds the position you chose. A scroll back to the bottom resumes the follow.

Cmd-click any markdown path

Claude links only the Write(notes.md) header with an escape sequence. The result line Wrote 12 lines to notes.md and every path in prose were plain text, and a cmd-click on them did nothing. The terminal now finds plain .md and .markdown paths on a line and opens them in the Markdown viewer on cmd-click. A relative path resolves against the session workspace and its repo folders. A path that Claude prints from inside a repo therefore still opens.

What changed underneath

A new tmux adapter function, pinPaneBorderOff, sets a session-scoped window-layout-changed hook and runs the reset once. newSession and ensureTerminal both call it, next to the existing mouse off and status off pins. A regression test runs against a real tmux server. It splits the window, enables the border, and kills the split pane. It then asserts that the pane returns to row 0 and fills the window. The test fails when the fix is removed.

The markdown resolver is a new endpoint, GET /sessions/:id/terminal/markdown?path=. It accepts only .md and .markdown names, resolves each candidate with path.resolve, and rejects any result outside the workspace folder. The client opens the blank tab inside the click gesture and navigates it after the resolve returns, so the popup blocker does not fire.

Known limits

A burst of output larger than the screen still gets a full tmux redraw instead of line feeds, so that burst adds no scrollback. This is tmux behaviour and is unchanged. The terminal does not link a markdown path with spaces as plain text. The escape-sequence header link still covers it. The terminal does not link a path that wraps across two terminal rows.

Upgrade notes

There is no configuration step. Restart the running Dispatch after you upgrade. A session that is already stuck heals the next time you open its terminal. There is no need to restart Claude.

Full changelog: https://github.com/theyashgupta/dispatch/compare/v3.6.0...v3.6.1

Requires Node ≥ 22.22, tmux, ttyd, git, and the Claude Code CLI. Setup is in the README.

View this release on GitHub