aboutsummaryrefslogtreecommitdiff
path: root/termkey2.h
diff options
context:
space:
mode:
Diffstat (limited to 'termkey2.h')
-rw-r--r--termkey2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/termkey2.h b/termkey2.h
index 9362215..60a3038 100644
--- a/termkey2.h
+++ b/termkey2.h
@@ -137,6 +137,7 @@ struct termkey_key
uint32_t codepoint; /* TERMKEY_TYPE_KEY */
int number; /* TERMKEY_TYPE_FUNCTION */
termkey_sym_t sym; /* TERMKEY_TYPE_KEYSYM */
+ // TODO: rewrite this insanity
char mouse[4]; /* TERMKEY_TYPE_MOUSE */
/* opaque, see termkey_interpret_mouse() */
} code;