aboutsummaryrefslogtreecommitdiff
path: root/termkey2.h
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-10-13 01:03:13 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-10-13 01:03:13 +0200
commit456093e4edf513d0f1509db048623f6e1b209112 (patch)
tree132a69e315e754c0bf2b82bf6039247107702b62 /termkey2.h
parent5692f32bcfa049fc2b5555b5a883045b217349b9 (diff)
downloadtermo-456093e4edf513d0f1509db048623f6e1b209112.tar.gz
termo-456093e4edf513d0f1509db048623f6e1b209112.tar.xz
termo-456093e4edf513d0f1509db048623f6e1b209112.zip
Work on mouse support, it's a mess
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;