selection: implement double-click-to-select-word

This commit is contained in:
Daniel Eklöf 2019-07-17 21:30:57 +02:00
parent f669cce5b9
commit 8bd969262b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 97 additions and 4 deletions

View file

@ -253,6 +253,9 @@ struct terminal {
int col;
int row;
int button;
int last_button;
struct timeval last_time;
} mouse;
struct coord cursor;