csi: bug: reset mouse *reporting* on CSI 1005/1006/1015l

This commit is contained in:
Daniel Eklöf 2019-07-21 20:27:26 +02:00
parent 6f282a2903
commit 3a50c54e7c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

5
csi.c
View file

@ -763,10 +763,13 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 1000: /* MOUSE_NORMAL */
case 1002: /* MOUSE_BUTTON_EVENT */
case 1003: /* MOUSE_ANY_EVENT */
term->mouse_tracking = MOUSE_NONE;
break;
case 1005: /* MOUSE_UTF8 */
case 1006: /* MOUSE_SGR */
case 1015: /* MOUSE_URXVT */
term->mouse_tracking = MOUSE_NONE;
term->mouse_reporting = MOUSE_NORMAL;
break;
case 1004: