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 /CHANGELOG.md | |
| 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 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a920e276..3aac7cfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,9 @@ * Mouse cursor style in top and left margins. * Selection is now **updated** when the cursor moves outside the grid (https://codeberg.org/dnkl/foot/issues/70). +* Viewport sometimes not moving when doing a scrollback search. +* Crash when cancelling a scrollback search and the window had been + resized while searching. ### Security |
