aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 22:29:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 22:29:45 +0000
commitd706e6828062aa35505d3893fb3c04b84985aa29 (patch)
tree0d9489a327012c52fdb93f1a2761fce483108659 /search.c
parentwayland: window: optimize: set opaque region (diff)
selection: track selection type; normal or block selection
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 31d26c36..6eef411c 100644
--- a/search.c
+++ b/search.c
@@ -138,7 +138,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_start(term, start_col, selection_row, SELECTION_NORMAL);
}
/* Update selection endpoint */