claude-code - 💡(How to fix) Fix Allow suppressing or customizing the PR number in the built-in mode indicator [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54860Fetched 2026-04-30 06:33:53
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

The built-in mode indicator line (e.g. ⏵⏵ accept edits on (shift+tab to cycle) · PR #1234) always appends the current branch's associated PR number when one exists. There is no way to suppress just the PR portion.

Root Cause

The built-in mode indicator line (e.g. ⏵⏵ accept edits on (shift+tab to cycle) · PR #1234) always appends the current branch's associated PR number when one exists. There is no way to suppress just the PR portion.

Fix Action

Fix / Workaround

Current workaround

Code Example

{
  "modeIndicator": {
    "showPR": false
  }
}
RAW_BUFFERClick to expand / collapse

Summary

The built-in mode indicator line (e.g. ⏵⏵ accept edits on (shift+tab to cycle) · PR #1234) always appends the current branch's associated PR number when one exists. There is no way to suppress just the PR portion.

Use case

When using a custom statusLine command (via settings.json) that already surfaces PR context — for example, showing session-active PRs across multiple repos — the PR #NNNN in the built-in indicator is redundant and adds noise.

Requested change

Add a settings.json option to control whether the PR number is shown in the built-in mode indicator. Something like:

{
  "modeIndicator": {
    "showPR": false
  }
}

Or alternatively, allow the entire mode indicator line to be replaced by a custom command (similar to how statusLine works), so users have full control over both lines.

Current workaround

None — the PR number cannot be suppressed today without removing PR context from the custom statusline entirely, which defeats the purpose of having both lines.

extent analysis

TL;DR

Add a showPR option to the modeIndicator settings to control the display of the PR number in the built-in mode indicator.

Guidance

  • Consider adding a modeIndicator section to your settings.json file with a showPR property set to false to suppress the PR number.
  • If the showPR option is not available, explore customizing the statusLine command to include the desired PR context and omit the built-in mode indicator.
  • Evaluate the trade-offs of removing PR context from the custom status line versus having redundant information.
  • Investigate whether replacing the entire mode indicator line with a custom command is a viable alternative.

Example

{
  "modeIndicator": {
    "showPR": false
  }
}

Notes

The requested change is not currently implemented, so a workaround is needed. The proposed showPR option or custom command replacement would require updates to the underlying system.

Recommendation

Apply a workaround by customizing the statusLine command to include the desired PR context, as the showPR option is not currently available. This approach allows for some control over the displayed information while awaiting a more comprehensive solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Allow suppressing or customizing the PR number in the built-in mode indicator [2 comments, 3 participants]