aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-25 09:23:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-25 09:23:54 +0000
commit9f82cbaa496f3c9c8210d3e78bee0de038d232e9 (patch)
tree320ac6c2c8f2a5bf269a463053b04930143aa9a5 /render.c
parentreadme: spelling fixes (diff)
search: fix crash when searching the scrollback history
search_update_selection() was changed in 1.4.x to *first* update the selection, *then* move the viewport. This leads to a crash if the new match (selection) is outside the current viewport; the selection code assumes the updated selection endpoint is in the visible viewport. Changing back to *first* move the viewport, *then* update the selection solves this.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions