]> Sergey Matveev's repositories - nnn.git/commitdiff
Revert "Retain filters when context keys are used from filter prompt"
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 25 Dec 2019 17:26:59 +0000 (22:56 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 25 Dec 2019 17:26:59 +0000 (22:56 +0530)
This reverts commit d9da85a3654be58b362c1967d876893b28ba6aa6.

src/nnn.c

index d67ea964a7c5e32b2b8c5e7f4d96b881fa79ba48..792c580fa17d0df51d0c038eeb31f0abf35c9c39 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2127,7 +2127,7 @@ static int filterentries(char *path)
                }
        }
 end:
-       if (*ch != '\t' && *ch != CONTROL('_'))
+       if (*ch != '\t')
                g_ctx[cfg.curctx].c_fltr[0] = g_ctx[cfg.curctx].c_fltr[1] = '\0';
 
        move_cursor(cur, 0);