commit de7072bdd537cead9cc117010b03afe6b6e21e86
parent f30e02239ebdae179682ed3765d3b2f1a4ff5075
Author: lostd <lostd@2f30.org>
Date: Fri, 10 Oct 2014 15:13:13 +0300
Let filter errors show up in status line
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);