github / github/copilot-cli

Diff highlights entire line now instead of just the changed text

Aperta
#1,813 1 commento 1 reazione 0 assegnatari Vedi su GitHub
area:theming-accessibility
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.