selection: auto-scroll: add SELECTION_SCROLL_NOT as a scroll ‘direction’

This commit is contained in:
Daniel Eklöf 2020-10-11 18:18:18 +02:00
parent dd14e0b3c3
commit 4ad7fdc19c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 32 additions and 10 deletions

View file

@ -182,7 +182,7 @@ 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};
enum selection_scroll_direction {SELECTION_SCROLL_UP, SELECTION_SCROLL_DOWN};
enum selection_scroll_direction {SELECTION_SCROLL_NOT, SELECTION_SCROLL_UP, SELECTION_SCROLL_DOWN};
struct ptmx_buffer {
void *data;