aboutsummaryrefslogtreecommitdiff
path: root/termo-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'termo-internal.h')
-rw-r--r--termo-internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/termo-internal.h b/termo-internal.h
index b9a27c2..b2b1c3a 100644
--- a/termo-internal.h
+++ b/termo-internal.h
@@ -80,6 +80,22 @@ struct termo
termo_key_t *key, size_t *nbytes);
}
method;
+
+ int guessed_mouse_proto; // What we think should be the mouse protocol
+ int mouse_proto; // The active mouse protocol
+ termo_mouse_tracking_t mouse_tracking; // Mouse tracking mode
+
+ // The mouse unfortunately directly depends on the terminfo driver to let
+ // it handle changes in the mouse protocol.
+
+ void *ti_data; // termo_ti_t pointer
+
+ struct
+ {
+ bool (*set_mouse_proto) (void *, int, bool);
+ bool (*set_mouse_tracking_mode) (void *, termo_mouse_tracking_t, bool);
+ }
+ ti_method;
};
static inline void