mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
selection: use selection_start() to initialize word/row-based selection
This removes the selection_mark_word() and selection_mark_row()
functions. To start a word/row-based selection, use selection_start()
with SELECTION_SEMANTIC_{WORD,ROW}
This commit is contained in:
parent
3dd6b7e4ef
commit
3afc5a723e
4 changed files with 104 additions and 107 deletions
2
search.c
2
search.c
|
|
@ -223,7 +223,7 @@ search_update_selection(struct terminal *term,
|
|||
assert(selection_row >= 0 &&
|
||||
selection_row < term->grid->num_rows);
|
||||
selection_start(term, start_col, selection_row,
|
||||
SELECTION_NORMAL, SELECTION_SEMANTIC_NONE);
|
||||
SELECTION_NORMAL, SELECTION_SEMANTIC_NONE, false);
|
||||
}
|
||||
|
||||
/* Update selection endpoint */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue