Status line should persist during interactive prompts (plan approval, permission, questions)
Description
The custom status line disappears during all interactive prompts — plan approval, permission requests ("accept edits?"), and AskUserQuestion flows. This is exactly when users need the information most, as they're making decisions about whether to proceed.
Current Behavior
- Status line displays correctly during normal operation and while the model is responding
- Status line disappears when:
- Plan mode asks for approval
- Permission prompts appear (accept edits, tool use approval)
- AskUserQuestion prompts appear
- Status line only reappears after the next API response begins
Expected Behavior
Status line should remain visible during all interactive prompts. Users need context (token usage, cost, session utilization) to make informed decisions at these points.
Use Case
Tools like ccstatusline display session usage %, block cost, weekly utilization, and context length. This information is critical during permission prompts — users want to know how much context they've consumed and how close they are to limits before approving actions.
Prior Issues
- #16645 (closed) — "Statusline disappears during rapid permission prompts"
- #20002 (closed) — "Status line disappears during accept edits prompt"
Both were closed but the behavior persists. Filing fresh as neither has an active resolution.
Suggested Solutions
- Persist the status line above interactive prompts (preferred)
- Add
refresh_intervalconfig option for time-based refresh independent of message events - Re-render on prompt display — trigger a status line update when showing any interactive prompt
Environment
- Claude Code version: 2.x
- OS: macOS Darwin 25.0.0
- Status line config:
"statusLine": { "type": "command", "command": "node ~/Documents/GitHub/ccstatusline/dist/ccstatusline.js" }
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗