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