termptyesc: CSI DSR is not about reseting xmodkeys

This commit is contained in:
Boris Faure 2023-04-08 10:51:36 +02:00
parent e31a33ee53
commit d2757c046e
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 7 additions and 7 deletions

View File

@ -1352,12 +1352,6 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
char bf[32];
Eina_Bool question_mark = EINA_FALSE;
if (*b == '>')
{
WRN("TODO: disable key resources used by xterm");
ty->decoding_error = EINA_TRUE;
return;
}
if (*b == '?')
{
question_mark = EINA_TRUE;
@ -3465,7 +3459,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
_handle_esc_csi_color_set(ty, &b, be);
break;
case 'n':
_handle_esc_csi_dsr(ty, b);
if (*b == '>')
{
WRN("TODO: disable key resources used by xterm");
ty->decoding_error = EINA_TRUE;
}
else
_handle_esc_csi_dsr(ty, b);
break;
case 'p': // define key assignments based on keycode
if (b && *b == '!')