termio: simplify _handle_query_esc()

This commit is contained in:
Boris Faure 2018-10-13 18:10:54 +02:00
parent 258cf5c173
commit e3faaab83d
1 changed files with 3 additions and 5 deletions

View File

@ -5588,11 +5588,9 @@ _smart_pty_bell(void *data)
}
static void
_handle_query_esc(Evas_Object *obj,
Termio *sd,
Config *config,
Termpty *ty)
_handle_query_esc(Termio *sd)
{
Termpty *ty = sd->pty;
if (ty->cur_cmd[1] == 's')
{
char buf[256];
@ -5653,7 +5651,7 @@ _smart_pty_command(void *data)
return;
if (ty->cur_cmd[0] == 'q')
{
_handle_query_esc(obj, sd, config, ty);
_handle_query_esc(sd);
return;
}