csi: ignore CSI ?1036h/l (metaSendsEscape)

This commit is contained in:
Daniel Eklöf 2019-07-23 17:57:41 +02:00
parent f5a6304850
commit a397c64efe
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

9
csi.c
View file

@ -715,6 +715,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->mouse_reporting = MOUSE_URXVT;
break;
case 1036:
/* metaSendsEscape - we always send escape */
break;
case 1049:
if (term->grid != &term->alt) {
term->grid = &term->alt;
@ -798,6 +802,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->focus_events = false;
break;
case 1036:
/* metaSendsEscape - we always send escape */
LOG_WARN("unimplemented: meta does *not* send escape");
break;
case 1049:
if (term->grid == &term->alt) {
term->grid = &term->normal;