aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-02 22:00:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-04 18:48:41 +0000
commit3afc5a723e10313f956234cfd4251ba7a5a7e99c (patch)
tree6b5b3eaf09fafc513994124bafe016ba7138fafc /search.c
parentselection: don’t finalize selection when starting a word/row-based selection (diff)
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}
Diffstat (limited to 'search.c')
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
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 */