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 committed by Aaron Lindsay
parent e98ec3352a
commit 26eea29960

5
st.c
View File

@ -1559,11 +1559,12 @@ tsetmode(int priv, int set, int *args, int narg)
xsetmode(set, MODE_BRCKTPASTE); xsetmode(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. */