mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
search: search_cancel: reset cursor position
This commit is contained in:
parent
2ca7400cc6
commit
6003b87813
1 changed files with 1 additions and 0 deletions
1
search.c
1
search.c
|
|
@ -25,6 +25,7 @@ search_cancel_keep_selection(struct terminal *term)
|
|||
term->search.buf = NULL;
|
||||
term->search.len = 0;
|
||||
term->search.sz = 0;
|
||||
term->search.cursor = 0;
|
||||
term->search.match = (struct coord){-1, -1};
|
||||
term->search.match_len = 0;
|
||||
term->is_searching = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue