termio: allow \t to be pasted

This commit is contained in:
Boris Faure 2019-10-26 23:20:38 +02:00
parent c80d2d99a5
commit 7634b61283
1 changed files with 1 additions and 2 deletions

View File

@ -1043,8 +1043,7 @@ _getsel_cb(void *data,
int prev_i = i;
g = eina_unicode_utf8_next_get(s, &i);
/* Skip escape codes as a security measure */
if ((g < '\n') ||
((g > '\n') && (g < ' ')))
if (! ((g == '\t') || (g == '\n') || (g >= ' ')))
{
continue;
}