[hackers] [st] Add some comments about the other mouse reporting modes. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sat, 01 Jun 2013 13:14:37 +0200

commit 317b7859210c187f898ddbc8ec0cc50885f340bc
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Jun 1 13:13:01 2013 +0200

    Add some comments about the other mouse reporting modes.

diff --git a/st.c b/st.c
index 321b58d..a032474 100644
--- a/st.c
+++ b/st.c
_AT_@ -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
",
Received on Sat Jun 01 2013 - 13:14:37 CEST

This archive was generated by hypermail 2.3.0 : Sat Jun 01 2013 - 13:24:09 CEST