input: mouse events

This commit is contained in:
Daniel Eklöf 2019-07-05 10:44:57 +02:00
parent 1a341a56cc
commit a102ff09f9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 103 additions and 6 deletions

View file

@ -182,6 +182,11 @@ struct terminal {
struct rgba foreground;
struct rgba background;
struct {
int x;
int y;
} mouse;
struct cursor cursor;
struct cursor saved_cursor;
struct cursor alt_saved_cursor;