compat: improve doc/parsing on DCS escape codes
This commit is contained in:
parent
7f5f407d7d
commit
75f40ae3c2
|
@ -1142,7 +1142,24 @@ _handle_esc_dcs(Termpty *ty __UNUSED__, const Eina_Unicode *c, const Eina_Unicod
|
||||||
switch (buf[0])
|
switch (buf[0])
|
||||||
{
|
{
|
||||||
case '+':
|
case '+':
|
||||||
/* TODO: Set request termcap/terminfo */
|
if (len < 4)
|
||||||
|
goto end;
|
||||||
|
switch (buf[1])
|
||||||
|
{
|
||||||
|
case 'q':
|
||||||
|
ERR("unhandled dsc request to get termcap/terminfo");
|
||||||
|
/* TODO */
|
||||||
|
goto end;
|
||||||
|
break;
|
||||||
|
case 'p':
|
||||||
|
ERR("unhandled dsc request to set termcap/terminfo");
|
||||||
|
/* TODO */
|
||||||
|
goto end;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
ERR("invalid dsc request about termcap/terminfo");
|
||||||
|
goto end;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case '$':
|
case '$':
|
||||||
/* Request status string */
|
/* Request status string */
|
||||||
|
@ -1164,7 +1181,8 @@ _handle_esc_dcs(Termpty *ty __UNUSED__, const Eina_Unicode *c, const Eina_Unicod
|
||||||
}
|
}
|
||||||
else if (buf[3] == 'q') /* DECSCA */
|
else if (buf[3] == 'q') /* DECSCA */
|
||||||
{
|
{
|
||||||
/* TODO: */
|
ERR("unhandled DECSCA '$qq'");
|
||||||
|
goto end;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue