mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
search: search_update_selection() no longer expects end coordinate to be exclusive
This commit is contained in:
parent
529da8e238
commit
68db8ff1f5
1 changed files with 0 additions and 3 deletions
3
search.c
3
search.c
|
|
@ -623,9 +623,6 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only)
|
|||
if (move_cursor)
|
||||
term->search.cursor = term->search.len;
|
||||
|
||||
/* search_update_selection() expected end coordinate to be *exclusive* */
|
||||
newline(new_end);
|
||||
|
||||
struct range match = {.start = term->search.match, .end = new_end};
|
||||
search_update_selection(term, &match);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue