diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-02 20:20:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-04 18:48:26 +0000 |
| commit | 30de262d29d703b0cc31799a4abf84239f3caf22 (patch) | |
| tree | bd71d133f96e031c311b2d171769f4f3922dc429 /input.c | |
| parent | render: draw combining characters on top of colored bitmap glyphs (emoji) (diff) | |
selection: wip: update selection word-wise when initial selection was by word
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |
