diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-12 16:45:35 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-12 17:40:40 +0000 |
| commit | b01431e38f96c8d42a5fa37c1b1e1f46bfb60f3a (patch) | |
| tree | 0f8817b79b6da47fb310f59e416ee777284b619a /scripts | |
| parent | Revert "ci: sr.ht: just testing..." (diff) | |
search: fix viewport not moving if we tried to move it past the scrollback start
If the match was somewhere near the scrollback beginning, and if the
entire scrollback hadn't yet been filled, we ended up trying to move
the viewport past the beginning of the scrollback, which we then
adjusted in the wrong direction, causing the viewport to not move at
all.
Besides being a bad user experience, since the new match wasn't
visible, foot would also crash if you manually scrolled up to the
match.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
