mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Print prompt even on no matches
This commit is contained in:
parent
e3a70a2483
commit
f55e797d24
4
nnn.c
4
nnn.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue