search: cancel existing selection when starting a new search

This commit is contained in:
Daniel Eklöf 2019-08-28 21:54:02 +02:00
parent 242ab66c97
commit 94b4c916ee
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}