Shut up about UTF-8 mouse mode (1005) from tmux

This commit is contained in:
Aaron Lindsay 2016-12-22 12:12:47 -05:00
parent b1d4782674
commit 0bfde9df6d

5
st.c
View File

@ -2248,11 +2248,12 @@ tsetmode(int priv, int set, int *args, int narg)
MODBIT(term.mode, set, MODE_BRCKTPASTE); MODBIT(term.mode, set, MODE_BRCKTPASTE);
break; break;
/* Not implemented mouse modes. See comments there. */ /* Not implemented mouse modes. See comments there. */
case 1001: /* mouse highlight mode; can hang the
terminal by design when implemented. */
case 1005: /* UTF-8 mouse mode; will confuse case 1005: /* UTF-8 mouse mode; will confuse
applications not supporting UTF-8 applications not supporting UTF-8
and luit. */ and luit. */
break; // so we don't print error message below
case 1001: /* mouse highlight mode; can hang the
terminal by design when implemented. */
case 1015: /* urxvt mangled mouse mode; incompatible case 1015: /* urxvt mangled mouse mode; incompatible
and can be mistaken for other control and can be mistaken for other control
codes. */ codes. */