aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-29 06:08:26 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-29 06:08:26 +0530
commit37987d487e7fa63a69a8699943e4b3fafe15641b (patch)
treefef720b7c9a442e68d0f60ce05ee50c83791e5e0 /src
parentd1fcc5351e43577c59bd9c89699f7241cea8052a (diff)
downloadnnn-37987d487e7fa63a69a8699943e4b3fafe15641b.tar.gz
Ignore backspace at empty 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 7835be6..0a7aa70 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2469,7 +2469,7 @@ static int filterentries(char *path, char *lastname)
wcstombs(ln, wln, REGEX_MAX);
ndents = total;
} else
- *ch = CONTROL('L');
+ continue;
// fallthrough
case CONTROL('L'):
if (*ch == CONTROL('L')) {