st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 317b7859210c187f898ddbc8ec0cc50885f340bc
parent 405fd89ac1d333be79325417c973a07ccad67453
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat,  1 Jun 2013 13:13:01 +0200

Add some comments about the other mouse reporting modes.

Diffstat:
Mst.c | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/st.c b/st.c
@@ -1815,9 +1815,16 @@ tsetmode(bool priv, bool set, int *args, int narg) {
             case 1048:
                 tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
                 break;
+            /* Not implemented mouse modes. See comments there. */
             case 9: /* X10 compatibility mode */
             case 1001: /* mouse highlight mode; can hang the
-                      terminal when implemented. */
+                      terminal by design when implemented. */
+            case 1005: /* UTF-8 mouse mode; will confuse
+                      applications not supporting UTF-8
+                      and luit. */
+            case 1015: /* urxvt mangled mouse mode; incompatible
+                      and can be mistaken for other control
+                      codes. */
             default:
                 fprintf(stderr,
                     "erresc: unknown private set/reset mode %d\n",