aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nnn.c b/nnn.c
index fbbab85..2f9cc9f 100644
--- a/nnn.c
+++ b/nnn.c
@@ -2715,6 +2715,9 @@ nochange:
cfg.filtermode ^= 1;
if (cfg.filtermode)
presel = FILTER;
+ else if (!ndents)
+ /* If there are no entries refresh to start watching dir */
+ goto begin;
else
printmsg("navigate-as-you-type off");
goto nochange;