From 30de262d29d703b0cc31799a4abf84239f3caf22 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 2 Jan 2021 21:20:41 +0100 Subject: selection: wip: update selection word-wise when initial selection was by word --- input.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index e4a1f306..0b45c5ad 100644 --- a/input.c +++ b/input.c @@ -275,7 +275,8 @@ execute_binding(struct seat *seat, struct terminal *term, case BIND_ACTION_SELECT_BEGIN: if (selection_enabled(term, seat) && cursor_is_on_grid) { selection_start( - term, seat->mouse.col, seat->mouse.row, SELECTION_NORMAL); + term, seat->mouse.col, seat->mouse.row, + SELECTION_NORMAL, SELECTION_SEMANTIC_NONE); return true; } return false; @@ -283,7 +284,8 @@ execute_binding(struct seat *seat, struct terminal *term, case BIND_ACTION_SELECT_BEGIN_BLOCK: if (selection_enabled(term, seat) && cursor_is_on_grid) { selection_start( - term, seat->mouse.col, seat->mouse.row, SELECTION_BLOCK); + term, seat->mouse.col, seat->mouse.row, + SELECTION_BLOCK, SELECTION_SEMANTIC_NONE); return true; } return false; -- cgit v1.3