Fix preview follow/scroll with long wrapped lines
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Fixes bugs reported in https://github.com/junegunn/fzf/pull/4703: * Clamp followOffset return value to avoid going past the end of lines * Account for t.previewed.filled when determining scrollability
authored by Junegunn Choi · committed by Junegunn Choi · parent e7300fe · Browse files · 2 files+17 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+17 added−3 removed
- tests:+14 added−0 removed
- other:+3 added−3 removed