csi: recognize the X10 mouse tracking enabler/disabler

We still don't implement it, but now we at least recognize it and log
a warning when it is implemented.
This commit is contained in:
Daniel Eklöf 2020-02-01 19:27:06 +01:00
parent 38e2e037e6
commit dfa5cb41e0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

6
csi.c
View file

@ -881,6 +881,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->auto_margin = true;
break;
case 9:
LOG_WARN("unimplemented: X10 mouse tracking mode");
/* term->mouse_tracking = MOUSE_X10; */
break;
case 12:
term_cursor_blink_enable(term);
break;
@ -1031,6 +1036,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
/* Highlight mouse tracking */
break;
case 9: /* MOUSE_X10 */
case 1000: /* MOUSE_NORMAL */
case 1002: /* MOUSE_BUTTON_EVENT */
case 1003: /* MOUSE_ANY_EVENT */