Shell details panel output clipped by viewport — help line (escape keys) also hidden
Summary
When the Shell details inspector is opened from the TaskList for a long-running background Bash (e.g. a dispatcher shell), the Output section is clipped by the bottom of the terminal viewport. At normal font size the Output area renders zero or one log lines even when the shell has tens of KB of captured output. The Showing N lines of X KB footer and — more importantly — the ← to go back · Esc/Enter/Space to close · x to stop help line are also hidden below the fold, so there's no visual indication of how to exit the panel.
The only workaround is to zoom the terminal out significantly (lower the font size) until the panel happens to fit.
Steps to reproduce
- Kick off a long-running background
Bashtool call via Claude Code (I hit this with abun rundispatcher, but any shell with ~hundreds of stdout lines will do). - In the TaskList, open the Shell details view for that shell.
- Observe the
Output:section.
Expected
Any of these would fix it:
- Shell details scrolls internally inside whatever vertical space is available.
- Metadata block (Status / Runtime / Command) collapses or truncates so the Output tail stays visible.
- At a bare minimum, the
← to go back · Esc/Enter/Space to close · x to stopfooter is always rendered, regardless of terminal height — users should never lose the escape-key hint just because the panel got larger than the viewport.
Actual
The panel gets guillotined by the bottom of the terminal. Output is mostly or entirely invisible. The escape-key help line is invisible. Only workaround is to shrink the font until it fits.
Screenshots
1. Normal font — zero output lines visible. Output: header + divider rendered, then the viewport ends. Nothing below.
2. Same view, slightly different moment — exactly one output line visible for a shell that's been running 1h 30m+. Still no footer, still no escape hint.
3. Workaround — font zoomed way out. Full panel now fits: 9 output lines, Showing 9 lines of 25.7KB footer, and the ← to go back · Esc/Enter/Space to close · x to stop help line at the bottom. This is how it's supposed to look, but requires shrinking text to unreadable size.
!shell-details-fontsize-workaround
Impact
Makes the Shell details inspector effectively unusable at a normal reading font size. Users who rely on inspecting long-running background shells (monitoring loops, dispatchers, dev servers) have to crank the font way down just to see any log output — which defeats the purpose of opening the panel in the first place. Losing the escape-key hint also means new users can get stuck in the panel without knowing how to leave.
Environment
- Claude Code
2.1.116 - macOS
26.4.1(build25E253), darwin25.4.0 - Terminal: Ghostty, running inside tmux
3.5a(TERM=tmux-256color) - Shell:
zsh - Normal terminal window size (not a small pane — this is a full-screen window on a 16" display)
- Focus mode enabled (
/focus) — only the final text response is rendered in the transcript, which may be relevant to how vertical space is being budgeted in the Shell details panel
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗