Status line doesn't refresh when output style changes mid-session
Resolved 💬 3 comments Opened Feb 10, 2026 by 1nto5 Closed Feb 14, 2026
Description
The custom status line (statusLine.command) only picks up the new output style when opening a new Claude Code session. Changing the output style via /output-style mid-session does not trigger a status line refresh — it continues showing the old style name until the session is restarted.
Expected behavior
The status line should refresh immediately (or within a short interval) after /output-style changes the active style, reflecting the new value without requiring a new session.
Steps to reproduce
- Configure a custom status line command in settings (
statusLine.type: "command") - The command reads
output_style.namefrom the JSON input - Start a Claude Code session — status line shows the current style (e.g.,
Exp) - Run
/output-styleand switch to a different style (e.g.,default) - Observe: status line still shows the old style name
Environment
- Claude Code CLI
- macOS
- Custom
statusLine.commandshell script
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗