diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-13 04:23:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-13 04:23:49 +0000 |
| commit | fc154fcf3af0357d1fd5e90923c77631f8dfe405 (patch) | |
| tree | 7fbbbac48c9a2938b38a979dc2399867c22a6cd9 /terminal.h | |
| parent | Merge branch 'custom-selection-colors' into master (diff) | |
| parent | selection: adjust start point when the selection changes direction (diff) | |
Merge branch 'selection-inversion' into master
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_direction {SELECTION_UNDIR, SELECTION_LEFT, SELECTION_RIGHT}; struct ptmx_buffer { void *data; @@ -306,6 +307,7 @@ struct terminal { struct { enum selection_kind kind; + enum selection_direction direction; struct coord start; struct coord end; } selection; |
