mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
csi: ignore CSI ?1036h/l (metaSendsEscape)
This commit is contained in:
parent
f5a6304850
commit
a397c64efe
1 changed files with 9 additions and 0 deletions
9
csi.c
9
csi.c
|
|
@ -715,6 +715,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term->mouse_reporting = MOUSE_URXVT;
|
term->mouse_reporting = MOUSE_URXVT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 1036:
|
||||||
|
/* metaSendsEscape - we always send escape */
|
||||||
|
break;
|
||||||
|
|
||||||
case 1049:
|
case 1049:
|
||||||
if (term->grid != &term->alt) {
|
if (term->grid != &term->alt) {
|
||||||
term->grid = &term->alt;
|
term->grid = &term->alt;
|
||||||
|
|
@ -798,6 +802,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term->focus_events = false;
|
term->focus_events = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 1036:
|
||||||
|
/* metaSendsEscape - we always send escape */
|
||||||
|
LOG_WARN("unimplemented: meta does *not* send escape");
|
||||||
|
break;
|
||||||
|
|
||||||
case 1049:
|
case 1049:
|
||||||
if (term->grid == &term->alt) {
|
if (term->grid == &term->alt) {
|
||||||
term->grid = &term->normal;
|
term->grid = &term->normal;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue