github / github/copilot-cli

Diff highlights entire line now instead of just the changed text

Open
#1,813 1 comment 1 reaction 0 assignees View on GitHub
area:theming-accessibility
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.