github / github/copilot-cli

When the CLI displays a tree view of text, the colors are all not the same.

Offen
#2,862 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:terminal-rendering
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

Describe the bug
When display results in a tree in the CLI, the last nodes leave color is incorrect.

● General-purpose(claude-opus-4.6) 🏗️ Neo: Create migration issues
│ Read history.md
│ │ .squad\agents\neo\history.md
│ └ L1:5 (4 lines read)
└ Edit history.md +27
└ .squad\agents\neo\history.md

In the screenshot, you will see that from "General-purpose" to just above edit, it is bright white, and the edit node is gray or off-white

Image

Steps to reproduce the behavior
You just need to get a response that shows a tree.

### Affected version

GitHub Copilot CLI 1.0.34

### Steps to reproduce the behavior

You just need to get a response that shows a tree.

### Expected behavior

The colors should be the same

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing a tree response in the CLI using the affected version, then trace the tree rendering and color handling from the CLI entry point. Done means the final nodes use the same color as the surrounding tree text and the behavior is covered by an appropriate test if the existing test structure permits it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.