aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar lostd <lostd@2f30.org>2014-10-10 15:13:13 +0300
committerGravatar lostd <lostd@2f30.org>2014-10-10 15:13:13 +0300
commitde7072bdd537cead9cc117010b03afe6b6e21e86 (patch)
tree54953b0c769f2a3717222522e2bd1c92b554d554
parentf30e02239ebdae179682ed3765d3b2f1a4ff5075 (diff)
downloadnnn-de7072bdd537cead9cc117010b03afe6b6e21e86.tar.gz
Let filter errors show up in status line
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 11d950a..3330b67 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);