aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-04 19:27:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-04 19:27:57 +0000
commitfcca3d3e55da97e0f5298343cb3cc8fef73223cd (patch)
tree97196e44524beea32b53487f31d8ef32e82551aa /search.c
parentrender: codespell: accomodate -> accommodate (diff)
parentextract: finish: increase ‘idx’ when pushing new data, for consistency (diff)
Merge branch 'extend-selection-by-word'
Closes #267
Diffstat (limited to 'search.c')
-rw-r--r--search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/search.c b/search.c
index a7b6f112..c4fd8f05 100644
--- a/search.c
+++ b/search.c
@@ -222,7 +222,8 @@ 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_start(term, start_col, selection_row,
+ SELECTION_NORMAL, SELECTION_SEMANTIC_NONE, false);
}
/* Update selection endpoint */