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 /terminal.h | |
| 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 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -181,6 +181,7 @@ enum mouse_reporting { enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR }; enum selection_kind { SELECTION_NONE, SELECTION_NORMAL, SELECTION_BLOCK }; +enum selection_semantic { SELECTION_SEMANTIC_NONE, SELECTION_SEMANTIC_WORD}; enum selection_direction {SELECTION_UNDIR, SELECTION_LEFT, SELECTION_RIGHT}; enum selection_scroll_direction {SELECTION_SCROLL_NOT, SELECTION_SCROLL_UP, SELECTION_SCROLL_DOWN}; @@ -359,6 +360,7 @@ struct terminal { struct { enum selection_kind kind; + enum selection_semantic semantic; enum selection_direction direction; struct coord start; struct coord end; |
