[FEATURE] Add option to hide built-in statusline elements (tokens, version)

Resolved 💬 3 comments Opened Feb 1, 2026 by kyleqihua Closed Feb 1, 2026

Feature Request

Allow users to fully customize the status line by providing options to hide the built-in token count and version display.

Problem

Currently, Claude Code displays built-in information on the right side of the status line:

  • Token count (e.g., 48096 tokens)
  • Version comparison (e.g., current: 2.1.29 · latest: 2.1.29)

Users who create custom statuslines via settings.json cannot hide these built-in elements. The custom statusline output appears on the left, while the built-in elements always appear on the right.

Use Case

I have a custom statusline.sh that displays my Claude Max quota and session name. I don't need the built-in token/version display because:

  1. I can access token data via the JSON input if needed
  2. The version info adds visual clutter when I'm already on the latest version
  3. I want full control over what appears in my status line

Suggested Solution

Add configuration options to settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/statusline.sh",
    "padding": 0,
    "hideTokens": true,
    "hideVersion": true
  }
}

Or a single option:

{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/statusline.sh",
    "hideBuiltinStatus": true
  }
}

Alternatives Considered

  • Using padding: 0 - only affects spacing, doesn't hide elements
  • Narrowing terminal - not a real solution, just truncates content
  • Third-party statusline tools - cannot control built-in display

Additional Context

The current statusline documentation at https://code.claude.com/docs/en/statusline only mentions type, command, and padding as configuration options. There's no way to customize or disable the built-in right-side display.

---
🤖 Generated with Claude Code

View original on GitHub ↗

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