From d9da85a3654be58b362c1967d876893b28ba6aa6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 25 Dec 2019 08:52:37 +0530 Subject: Retain filters when context keys are used from filter prompt --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 1326d3b..a420777 100644 --- 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); -- cgit v1.2.3-70-g09d2