summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-26 23:20:38 +0200
committerBoris Faure <billiob@gmail.com>2019-10-27 11:32:51 +0100
commit7634b61283a92266afb81293ceb49f27f020c44c (patch)
treeefc573e4ccbcafe40b9c16eb7328bac94bd214fb
parentc80d2d99a546325605010b95e6b2b9a4126b86c9 (diff)
termio: allow \t to be pasted
-rw-r--r--src/bin/termio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index dea782e..0451b71 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1043,8 +1043,7 @@ _getsel_cb(void *data,
1043 int prev_i = i; 1043 int prev_i = i;
1044 g = eina_unicode_utf8_next_get(s, &i); 1044 g = eina_unicode_utf8_next_get(s, &i);
1045 /* Skip escape codes as a security measure */ 1045 /* Skip escape codes as a security measure */
1046 if ((g < '\n') || 1046 if (! ((g == '\t') || (g == '\n') || (g >= ' ')))
1047 ((g > '\n') && (g < ' ')))
1048 { 1047 {
1049 continue; 1048 continue;
1050 } 1049 }