search: fix next/prev not updating selection correctly when matches overlap

When the new match overlapped with the old match, the selection wasn’t
updated correctly.
This commit is contained in:
Daniel Eklöf 2022-04-17 19:16:47 +02:00
parent 24ee3dcc10
commit c5519e2aa6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 11 additions and 3 deletions

View file

@ -123,6 +123,8 @@
are enabled, and CSD border width set to a non-zero value.
* Key binding overrides on the command line having no effect with
`footclient` instances (https://codeberg.org/dnkl/foot/issues/931).
* Search prev/next not updating the selection correctly when the
previous and new match overlaps.
### Security