From: lostd Date: Fri, 10 Oct 2014 12:13:13 +0000 (+0300) Subject: Let filter errors show up in status line X-Git-Tag: v1.0~92^2~224 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=de7072bdd537cead9cc117010b03afe6b6e21e86;p=nnn.git Let filter errors show up in status line --- diff --git a/noice.c b/noice.c index 11d950a7..3330b675 100644 --- a/noice.c +++ b/noice.c @@ -530,6 +530,7 @@ nochange: goto nochange; case SEL_FLTR: /* Read filter */ + printmsg(""); move(LINES - 1, 0); printw("filter: "); tmp = readln(); @@ -540,7 +541,6 @@ nochange: r = setfilter(&re, tmp); if (r != 0) { free(tmp); - printmsg(""); goto nochange; } free(filter);