aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-25 08:52:37 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-25 08:52:37 +0530
commitd9da85a3654be58b362c1967d876893b28ba6aa6 (patch)
treea546cc5dea783aded5eb4bdcd3cddee88fe778a0 /src
parentf480de0065acdccb5afafa717665fe62b3110f43 (diff)
downloadnnn-d9da85a3654be58b362c1967d876893b28ba6aa6.tar.gz
Retain filters when context keys are used from filter prompt
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
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);