github / github/copilot-cli

Diff highlights entire line now instead of just the changed text

Đang mở
#1,813 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:theming-accessibility
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.