[BUG] Status line disappears after assistant response and does not re-render
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The status line renders correctly on session startup, but disappears permanently after the first assistant response completes. It does not re-render on subsequent turns.
The only way to see it again is to restart Claude Code.
What Should Happen?
The status line should persist and update after every assistant message completes, as described in the documentation. The 300ms debounced update mechanism should fire
after each response.
Error Messages/Logs
No error output. The status line silently stops rendering — no crash, no log.
Steps to Reproduce
- Configure a
command-type status line in~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline-command.sh"
}
}
- Start a Claude Code session — status line appears correctly in the terminal
- Send any prompt and wait for the full response to complete
- Observe: status line is gone after the response renders
- Send additional prompts — status line never re-renders for the rest of the session
Note: Running the script manually produces correct output. The issue is in the
Claude Code runtime not triggering re-renders after message completion.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
first time configuring status line on this installation
Claude Code Version
2.1.84 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
disableAllHooksis NOT set — hooks are enabled- The status line script executes correctly when run manually with
bash ~/.claude/statusline-command.sh - The script reads JSON from stdin and outputs ANSI-formatted text — verified working
- Reinstalling Claude Code does not resolve the issue
Related issues that may be tracking the same root cause:
- #29383 — Status line briefly appears during thinking phase then disappears
- #25539 — Status line stuck after response completes
Configuration summary:
- Type:
command - Script: reads model, cwd, git branch, context window usage from stdin JSON
- Output: ANSI colored single-line string
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗