mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
search: cancel existing selection when starting a new search
This commit is contained in:
parent
242ab66c97
commit
94b4c916ee
1 changed files with 1 additions and 0 deletions
1
search.c
1
search.c
|
|
@ -25,6 +25,7 @@ search_begin(struct terminal *term)
|
|||
term->search.view_followed_offset = term->grid->view == term->grid->offset;
|
||||
term->is_searching = true;
|
||||
|
||||
selection_cancel(term);
|
||||
render_refresh(term);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue