Feature request: customize color (or hide) the auto-detected PR indicator below the statusline

Open 💬 0 comments Opened Jul 15, 2026 by balb-0

Context

When the current branch has an open PR on GitHub, Claude Code renders a second line below the custom statusline showing the PR link and an agent hint:

Opus 4.7 | bitlearns | feat-book-export-to-docx-pipeline* | ...
PR #2847 · ← for agents

This is useful (surfaces --from-pr context) but has no configuration surface I could find:

  • Not documented in claude --help.
  • No key in ~/.claude/settings.json that toggles it.
  • Color of #2847 (magenta + underline) is hardcoded — no theme.prIndicator or similar.

Request

Just letting me change the color would already solve this. The indicator itself is useful — the styling is what clashes with custom statuslines that use their own palette.

Ideal shape:

  1. Theme hook to recolor (preferred): settings.json"theme": { "prIndicator": "cyan" } or accepting an ANSI code.
  2. Boolean to hide (fallback for people who don't want it at all): settings.json"showPrIndicator": false.

Either one unblocks the use case; (1) alone is enough for me.

Environment

  • Claude Code v2.1.202
  • macOS Darwin 25.0.0
  • Custom statusline via settings.json → statusLine.command

Workaround today

None that I could find without unauthing gh (which breaks other features).

View original on GitHub ↗