mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
The restore scan polls the off-screen render after each line read to find its target. OffscreenDiffLineContents rebuilds a snapshot of every loaded row each call, so polling per line is O(n2) on a large diff. Add OffscreenDiffLineContentsFrom, which returns only the rows from a given index onward, so a scan that remembers how far it has read can process just the new lines. 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 | ||