mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-09 10:06:20 -05:00
fix highlights being cleared on confirm
This commit is contained in:
parent
ae09b12501
commit
c1eee29fbe
1 changed files with 1 additions and 1 deletions
2
vimode.c
2
vimode.c
|
|
@ -354,10 +354,10 @@ static void cancel_search(struct terminal *const term,
|
|||
}
|
||||
|
||||
wayl_win_subsurface_destroy(&term->window->search);
|
||||
clear_highlights(term);
|
||||
term->vimode.searching = false;
|
||||
struct vimode_search *const search = &term->vimode.search;
|
||||
if (restore_original) {
|
||||
clear_highlights(term);
|
||||
restore_pre_search_state(term);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue