termptyesc: handle single osc arg

This commit is contained in:
Boris Faure 2020-07-15 21:11:05 +02:00
parent aa7b50ae4b
commit a56a76afc7
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 1 deletions

View File

@ -3622,7 +3622,7 @@ _osc_arg_get(Termpty *ty, Eina_Unicode **ptr)
goto error;
}
}
if (*b != ';' && *b != BEL)
if (*b != ';' && *b != BEL && *b != 0)
{
sum = -ESC_ARG_ERROR;
goto error;