aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 8177836..12f8679 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2242,7 +2242,8 @@ end:
if (ln[1])
ln[REGEX_MAX - 1] = ln[1];
- if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN && *ch != CONTROL('T')) {
+ if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN
+ && *ch != CONTROL('T') && *ch != CONTROL('F')) {
ln[0] = ln[1] = '\0';
move_cursor(cur, 0);
} else if (ndents)
@@ -5439,7 +5440,7 @@ nochange:
}
if (!r) {
- clearprompt();
+ cfg.filtermode ? presel = FILTER : clearprompt();
goto nochange;
}