forked from enlightenment/terminology
termio: allow \t to be pasted
This commit is contained in:
parent
c80d2d99a5
commit
7634b61283
|
@ -1043,8 +1043,7 @@ _getsel_cb(void *data,
|
||||||
int prev_i = i;
|
int prev_i = i;
|
||||||
g = eina_unicode_utf8_next_get(s, &i);
|
g = eina_unicode_utf8_next_get(s, &i);
|
||||||
/* Skip escape codes as a security measure */
|
/* Skip escape codes as a security measure */
|
||||||
if ((g < '\n') ||
|
if (! ((g == '\t') || (g == '\n') || (g >= ' ')))
|
||||||
((g > '\n') && (g < ' ')))
|
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue