rewrite selection system. Closes T1893
This commit is contained in:
parent
6a2b3ae871
commit
788f3e7eb7
985
src/bin/termio.c
985
src/bin/termio.c
File diff suppressed because it is too large
Load Diff
|
@ -145,13 +145,18 @@ struct _Termpty
|
|||
unsigned char on : 1;
|
||||
} block;
|
||||
struct {
|
||||
/* start is always the start of the selection
|
||||
* so end.y can be < start.y */
|
||||
struct {
|
||||
int x, y;
|
||||
} start, end, start_backup, end_backup;
|
||||
} start, end, orig;
|
||||
time_t last_click;
|
||||
unsigned char is_active : 1;
|
||||
unsigned char is_box : 1;
|
||||
unsigned char makesel : 1;
|
||||
unsigned char by_word : 1;
|
||||
unsigned char by_line : 1;
|
||||
unsigned char is_top_to_bottom : 1;
|
||||
} selection;
|
||||
Termstate state, save, swap;
|
||||
int exit_code;
|
||||
|
|
Loading…
Reference in New Issue