mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
refreshViewLinesIfNeeded keeps the previous render's view lines in the tail when the new render is shorter, so the view can go on showing old content without flicker until the new content catches up. The mapping readers guard only against a buffer index that has gone out of range of the shrunk buffer — but with wrapping, a stale tail entry's index can still be in range, so the guard passes and a view line that no longer exists is mapped onto the wrong buffer line. See diff-line-metadata-notes.md §8. 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 | ||