mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
commit
d75e50230e
6 changed files with 164 additions and 1 deletions
|
|
@ -182,6 +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_NOT, SELECTION_SCROLL_UP, SELECTION_SCROLL_DOWN};
|
||||
|
||||
struct ptmx_buffer {
|
||||
void *data;
|
||||
|
|
@ -349,6 +350,12 @@ struct terminal {
|
|||
struct coord start;
|
||||
struct coord end;
|
||||
bool ongoing;
|
||||
|
||||
struct {
|
||||
int fd;
|
||||
int col;
|
||||
enum selection_scroll_direction direction;
|
||||
} auto_scroll;
|
||||
} selection;
|
||||
|
||||
bool is_searching;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue