aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 7cb1045..7fed1d5 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1205,7 +1205,7 @@ static int filterentries(char *path)
if (r == OK) {
/* Handle all control chars in main loop */
- if (keyname(*ch)[0] == '^') {
+ if (keyname(*ch)[0] == '^' && *ch != '^') {
if (len == 1)
cur = oldcur;
goto end;