github / github/copilot-cli

Diff highlights entire line now instead of just the changed text

未关闭
#1,813 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:theming-accessibility
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

In version 0.0.420, diff highlights only changed the background color of the text that was changed. In the latest version 0.0.421, diff highlights the entire line, which makes the changes much more difficult to understand. Furthermore, the foreground color is also incorrect on the latest version, where the previous version had black-on-green (legible), the new version has white-on-green (illegible). The colors have not changed between versions, only the choice of foreground. The line numbers also appear to be aligned differently in the new version.

Version 0.0.420:
Image

Version 0.0.421:
Image

### Affected version

GitHub Copilot CLI 0.0.421

### Steps to reproduce the behavior

Compare output of /theme on the two versions

### Expected behavior

Original diff highlighting to be the same

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。