claude-code - 💡(How to fix) Fix [BUG] Session Color disappears in permissions request [1 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#56322Fetched 2026-05-06 06:31:13
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4renamed ×1

Error Message

Error Messages/Logs

Code Example

N/A
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When claude asks for permissions, it stops displaying the color set by /color

This means if I have multiple terminals open on different virtual desktops, when I swipe back to find that terminal session the visual cue of the color is gone.

What Should Happen?

Ideally the color should still be displayed somewhere when claude is asking for permissions. I use tui mode so a colored bar across the top of the screen would be really helpful.

Error Messages/Logs

N/A

Steps to Reproduce

  1. Set a session color using /color
  2. Perform a request that requires permissions
  3. When permissions chooser appears, no color is visible

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.26

Platform

Google Vertex AI

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Set a session color:

<img width="1802" height="294" alt="Image" src="https://github.com/user-attachments/assets/2300f7de-3f9b-46eb-bb4b-0a7dc8476182" />

Permissions request doesn't show the color:

<img width="1798" height="486" alt="Image" src="https://github.com/user-attachments/assets/88523c0d-ac3c-47aa-b96c-bac62496ddc2" />

Mockup of what I would expect:

<img width="901" height="271" alt="Image" src="https://github.com/user-attachments/assets/6bcd5919-faa4-42c3-9156-79a57de4d3e6" />

extent analysis

TL;DR

The issue can be addressed by modifying the permissions request UI to display the session color, potentially by adding a colored bar across the top of the screen in TUI mode.

Guidance

  • Investigate the current implementation of the permissions request UI in Claude Code to understand how it interacts with the session color setting.
  • Consider adding a feature to display the session color in the permissions request UI, such as a colored bar across the top of the screen in TUI mode.
  • Review the code for the /color command to see how it sets the session color and how this color is stored or propagated to other parts of the application.
  • Look into the CSS or styling used in the permissions request UI to determine how to apply the session color.

Example

No code example is provided as the issue does not include specific code snippets or APIs to work with.

Notes

The solution may require modifications to the Claude Code UI and styling, which could involve updating CSS, HTML, or JavaScript code. The exact implementation will depend on the technologies and frameworks used in the project.

Recommendation

Apply a workaround by modifying the permissions request UI to display the session color, as this is a new feature request rather than a bug fix. This will allow the user to see the session color when the permissions chooser appears.

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 [BUG] Session Color disappears in permissions request [1 participants]