commit d9da85a3654be58b362c1967d876893b28ba6aa6
parent f480de0065acdccb5afafa717665fe62b3110f43
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 25 Dec 2019 08:52:37 +0530
Retain filters when context keys are used from filter prompt
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -2127,7 +2127,7 @@ static int filterentries(char *path)
}
}
end:
- if (*ch != '\t')
+ if (*ch != '\t' && *ch != CONTROL('_'))
g_ctx[cfg.curctx].c_fltr[0] = g_ctx[cfg.curctx].c_fltr[1] = '\0';
move_cursor(cur, 0);