diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 19:12:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 19:12:15 +0000 |
| commit | 2281ee852a56cce49c97d8169b700c849dd6d6df (patch) | |
| tree | db3afdbb866bcbd128b3ed12066d387d6de3c260 /selection.c | |
| parent | config: add support for pipe-* actions in mouse bindings (diff) | |
selection: fix enum type
enum selection_scroll_direction is used when extending a selection by
auto-scrolling the terminal content while the mouse is outside the
grid.
What we want is enum selection_direction.
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c index a0dfaa02..5b3f06ea 100644 --- a/selection.c +++ b/selection.c @@ -485,7 +485,7 @@ selection_extend_normal(struct terminal *term, int col, int row, uint32_t serial assert(start->row < end->row || start->col < end->col); struct coord new_start, new_end; - enum selection_scroll_direction direction; + enum selection_direction direction; if (row < start->row || (row == start->row && col < start->col)) { /* Extend selection to start *before* current start */ |
