From 450df4c476ef9b285d1601ad78d48f49c3b058a0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 26 Dec 2019 10:11:05 +0530 Subject: Retain filter on keys up and down --- 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 792c580..b6ee67f 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 != KEY_UP && *ch != KEY_DOWN) 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