From: Arun Prakash Jana Date: Tue, 28 Aug 2018 17:21:26 +0000 (+0530) Subject: Print prompt even on no matches X-Git-Tag: v2.0~28 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f55e797d24187edb843d3f3e1a49bc30735946e7;p=nnn.git Print prompt even on no matches --- 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; }