termptyesc: remove unused argument

This commit is contained in:
Boris Faure 2023-08-14 15:13:56 +02:00
parent 60c2de3f8c
commit 287bf5ab6e
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 3 additions and 4 deletions

View File

@ -3303,8 +3303,7 @@ _handle_window_manipulation(Termpty *ty, Eina_Unicode **ptr)
static void
_handle_xmodkeys(Termpty *ty,
Eina_Unicode cmd, Eina_Unicode **ptr,
const Eina_Unicode * const end)
Eina_Unicode cmd, Eina_Unicode **ptr)
{
Eina_Unicode *b = *ptr;
Eina_Bool set = (cmd == 'm');
@ -3536,13 +3535,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
break;
case 'm': // color set
if (b && (*b == '>' || *b == '?'))
_handle_xmodkeys(ty, *cc, &b, be);
_handle_xmodkeys(ty, *cc, &b);
else
_handle_esc_csi_color_set(ty, &b, be);
break;
case 'n':
if (*b == '>')
_handle_xmodkeys(ty, *cc, &b, be);
_handle_xmodkeys(ty, *cc, &b);
else
_handle_esc_csi_dsr(ty, b);
break;