]> Sergey Matveev's repositories - nnn.git/commitdiff
TAB is not identified on OS X
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 26 Dec 2017 18:46:23 +0000 (00:16 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 26 Dec 2017 18:46:56 +0000 (00:16 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index d874d35ae0dd5f89c3247aa58d009d375dc88e4d..f173fca6d2e12f8b1daa5c28dfa20eb5afd263e5 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -1055,7 +1055,7 @@ xreadline(char *fname)
                                }
 
                                /* TAB breaks cursor position, ignore it */
-                               if (*ch == TAB || *ch == '\t')
+                               if (*ch == '\t')
                                        continue;
 
                                if (pos < buflen) {