aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nnn.c b/nnn.c
index d5d544c..95a0edc 100644
--- a/nnn.c
+++ b/nnn.c
@@ -3167,10 +3167,16 @@ nochange:
case SEL_RUN:
run = xgetenv(env, run);
spawn(run, NULL, NULL, path, F_NORMAL | F_MARKER);
- /* Repopulate as directory content may have changed */
+
+ /* Continue in navigate-as-you-type mode, if enabled */
+ if (cfg.filtermode)
+ presel = FILTER;
+
/* Save current */
if (ndents > 0)
copycurname();
+
+ /* Repopulate as directory content may have changed */
goto begin;
case SEL_RUNARG:
run = xgetenv(env, run);