From 3afc5a723e10313f956234cfd4251ba7a5a7e99c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 2 Jan 2021 23:00:54 +0100 Subject: 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} --- search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.c') diff --git a/search.c b/search.c index 034fc7c9..c4fd8f05 100644 --- a/search.c +++ b/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 */ -- cgit v1.3