mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
input: implement metaSendsEscape and eightBitMeta
This commit is contained in:
parent
4e87426712
commit
a3d919a90d
5 changed files with 101 additions and 34 deletions
21
csi.c
21
csi.c
|
|
@ -927,8 +927,16 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
term->mouse_reporting = MOUSE_URXVT;
|
||||
break;
|
||||
|
||||
case 1034:
|
||||
/* smm */
|
||||
LOG_DBG("enabling 8-bit meta mode");
|
||||
term->meta.eight_bit = true;
|
||||
break;
|
||||
|
||||
case 1036:
|
||||
/* metaSendsEscape - we always send escape */
|
||||
/* metaSendsEscape */
|
||||
LOG_DBG("enabling meta-sends-escape");
|
||||
term->meta.esc_prefix = true;
|
||||
break;
|
||||
|
||||
#if 0
|
||||
|
|
@ -1037,9 +1045,16 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
term->alt_scrolling = false;
|
||||
break;
|
||||
|
||||
case 1034:
|
||||
/* rmm */
|
||||
LOG_DBG("disabling 8-bit meta mode");
|
||||
term->meta.eight_bit = false;
|
||||
break;
|
||||
|
||||
case 1036:
|
||||
/* metaSendsEscape - we always send escape */
|
||||
LOG_WARN("unimplemented: meta does *not* send escape");
|
||||
/* metaSendsEscape */
|
||||
LOG_DBG("disabling meta-sends-escape");
|
||||
term->meta.esc_prefix = false;
|
||||
break;
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue