github / github/copilot-cli

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

未關閉
#2,862 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。