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

  1. Configure a custom status line command in settings (statusLine.type: "command")
  2. The command reads output_style.name from the JSON input
  3. Start a Claude Code session — status line shows the current style (e.g., Exp)
  4. Run /output-style and switch to a different style (e.g., default)
  5. Observe: status line still shows the old style name

Environment

  • Claude Code CLI
  • macOS
  • Custom statusLine.command shell script

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗