diff --git a/nnn.c b/nnn.c index abb90b5e..938be280 100644 --- a/nnn.c +++ b/nnn.c @@ -1077,9 +1077,9 @@ filterentries(char *path) wcstombs(ln, wln, REGEX_MAX); ndents = total; - if (matches(pln) == -1) - continue; - redraw(path); + if (matches(pln) != -1) + redraw(path); + printprompt(ln); continue; }