aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-12 16:45:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-12 17:40:40 +0000
commitb01431e38f96c8d42a5fa37c1b1e1f46bfb60f3a (patch)
tree0f8817b79b6da47fb310f59e416ee777284b619a /render.c
parentRevert "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 'render.c')
0 files changed, 0 insertions, 0 deletions