From 456093e4edf513d0f1509db048623f6e1b209112 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Mon, 13 Oct 2014 01:03:13 +0200
Subject: Work on mouse support, it's a mess
---
driver-csi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'driver-csi.c')
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;
--
cgit v1.2.3