summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-27 23:28:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-27 23:28:51 +0000
commit043514a834a2605b2635f9121071a5e53951915d (patch)
tree0848bee4f6b75f4cf9bb3ccaf8c47018e352a112 /TODO
parentf47ab8f13fd76cb1761c74d1384ce7695ebbea44 (diff)
Preliminary mouse support.
Diffstat (limited to 'TODO')
-rw-r--r--TODO23
1 files changed, 23 insertions, 0 deletions
diff --git a/TODO b/TODO
index e9a52a23..3cc55e58 100644
--- a/TODO
+++ b/TODO
@@ -65,3 +65,26 @@
- anything which uses cmd_{send,recv}_string will break if the string is
split. string length should be part of the command size
- echo \\033[35\;46m\\033[2J last line quirk (with C-b r)
+
+--------
+kmous -- \E[M
+
+mouse init: putp("\033[?1000h");
+mouse deinit: putp("\033[?1000l");
+
+\e[M CbCxCy
+ * On button press or release, xterm sends ESC [ M CbCxCy.
+ * The low two bits of Cb encode button information: 0=MB1
+ * pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release. The
+ * upper bits encode what modifiers were down when the
+ * button was pressed and are added together. 4=Shift,
+ * 8=Meta, 16=Control. Cx and Cy are the x and y coordinates
+ * of the mouse event. The upper left corner is (1,1).
+
+
+ get_mouse getm Gm Curses should get
+ button events
+ key_mouse kmous Km Mouse event has
+ occurred
+ mouse_info minfo Mi Mouse status
+ information