From f55e797d24187edb843d3f3e1a49bc30735946e7 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 28 Aug 2018 22:51:26 +0530 Subject: [PATCH] Print prompt even on no matches --- nnn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }