mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
The diff-line parser needs to walk the unwrapped diff buffer upward from a clicked/selected row, but the row index it's handed is a view line index (which counts wrapped lines). Expose the existing internal mapping (viewLines[y].linesY) so callers can translate, with the same lock and stale-tail guard that HyperLinkInLine uses against a concurrent shorter re-render. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>