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
1 changed files with 3 additions and 3 deletions

6
nnn.c
View File

@ -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;
}