mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
delta, fed a colored diff, renders some blank changed lines (an empty deleted/added line) as just the OSC 1717 metadata followed by an empty line — either with no fill at all, or as a background plus an ESC[0K that the buffer now turns into a draw-time trailing fill rather than content cells. Either way the line ends up with no cells, so its metadata had nowhere to live and the line resolved to "not a change". In the focused main view that broke change-block detection: a blank deleted line in the middle of a hunk split it in two, so pressing 0 selected only the lines above the blank and the down arrow jumped to the rest below it. Restore the content-less sentinel cell finishLine used to add, but only when there is pending OSC metadata to carry — so an empty line stays resolvable as the change it is, without reintroducing the unconditional sentinel (and its prevFgColor coupling) that was removed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||