From 7634b61283a92266afb81293ceb49f27f020c44c Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 26 Oct 2019 23:20:38 +0200 Subject: [PATCH] termio: allow \t to be pasted --- src/bin/termio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index dea782ef..0451b710 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -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; }