diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-10-13 01:03:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-10-13 01:03:13 +0200 |
commit | 456093e4edf513d0f1509db048623f6e1b209112 (patch) | |
tree | 132a69e315e754c0bf2b82bf6039247107702b62 /driver-csi.c | |
parent | 5692f32bcfa049fc2b5555b5a883045b217349b9 (diff) | |
download | termo-456093e4edf513d0f1509db048623f6e1b209112.tar.gz termo-456093e4edf513d0f1509db048623f6e1b209112.tar.xz termo-456093e4edf513d0f1509db048623f6e1b209112.zip |
Work on mouse support, it's a mess
Diffstat (limited to 'driver-csi.c')
-rw-r--r-- | driver-csi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver-csi.c b/driver-csi.c index 23f38e7..9f822f0 100644 --- a/driver-csi.c +++ b/driver-csi.c @@ -196,7 +196,7 @@ handle_csi_u (termkey_t *tk, termkey_key_t *key, int cmd, long *arg, int args) } /* - * Handler for CSI M / CSI m mouse events in SRG and rxvt encodings + * Handler for CSI M / CSI m mouse events in SGR and rxvt encodings * Note: This does not handle X10 encoding */ @@ -262,6 +262,7 @@ termkey_interpret_mouse (termkey_t *tk, const termkey_key_t *key, termkey_key_get_linecol (key, line, col); + // XXX: WTF is this logic? if (!event) return TERMKEY_RES_KEY; |