mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
search: update xcursor when starting and ending a search
This commit is contained in:
parent
c8724fe656
commit
876cd6895f
1 changed files with 2 additions and 0 deletions
2
search.c
2
search.c
|
|
@ -31,6 +31,7 @@ search_cancel_keep_selection(struct terminal *term)
|
|||
term->search.match_len = 0;
|
||||
term->is_searching = false;
|
||||
|
||||
term_xcursor_update(term);
|
||||
render_refresh(term);
|
||||
}
|
||||
|
||||
|
|
@ -46,6 +47,7 @@ search_begin(struct terminal *term)
|
|||
term->search.view_followed_offset = term->grid->view == term->grid->offset;
|
||||
term->is_searching = true;
|
||||
|
||||
term_xcursor_update(term);
|
||||
render_search_box(term);
|
||||
render_refresh(term);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue