Print prompt even on no matches

This commit is contained in:
Arun Prakash Jana 2018-08-28 22:51:26 +05:30
parent e3a70a2483
commit f55e797d24
No known key found for this signature in database
GPG key ID: A75979F35C080412

4
nnn.c
View file

@ -1077,9 +1077,9 @@ filterentries(char *path)
wcstombs(ln, wln, REGEX_MAX); wcstombs(ln, wln, REGEX_MAX);
ndents = total; ndents = total;
if (matches(pln) == -1) if (matches(pln) != -1)
continue;
redraw(path); redraw(path);
printprompt(ln); printprompt(ln);
continue; continue;
} }