diff options
author | Pascal Kuthe | 2023-03-03 16:05:40 +0000 |
---|---|---|
committer | GitHub | 2023-03-03 16:05:40 +0000 |
commit | 5c716af7a2c2fff36080d51be3cb9fa30aa36bc7 (patch) | |
tree | 7942bcf3121fc152efd7bc2622e7c1b5631c4219 /helix-term/src | |
parent | 2d5577dbe6b353bd266154ab693ffedc521afee0 (diff) |
Fix scrolloff at view bottom (#6142)
Fixes a regression introduced in #5420 where a scrolloff of `x - 1`
was used instead if `x` at the bottom of the screen. This was
especially problematic if the scrolloff was set to `0` in that case
the scrolloff behaved as tough set to `-1` and the cursor disappeared
from the view if scrolled to the botoom.
Diffstat (limited to 'helix-term/src')
0 files changed, 0 insertions, 0 deletions