csi: warn when client tries to enable "highlight mouse tracking"

This commit is contained in:
Daniel Eklöf 2020-01-23 17:38:23 +01:00
parent 08eb0532ad
commit e6d1ebbbfc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

8
csi.c
View file

@ -894,6 +894,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term_xcursor_update(term);
break;
case 1001:
LOG_WARN("unimplemented: highlight mouse tracking");
break;
case 1002:
term->mouse_tracking = MOUSE_DRAG;
term_xcursor_update(term);
@ -1023,6 +1027,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->hide_cursor = true;
break;
case 1001:
/* Highlight mouse tracking */
break;
case 1000: /* MOUSE_NORMAL */
case 1002: /* MOUSE_BUTTON_EVENT */
case 1003: /* MOUSE_ANY_EVENT */