From de7072bdd537cead9cc117010b03afe6b6e21e86 Mon Sep 17 00:00:00 2001 From: lostd Date: Fri, 10 Oct 2014 15:13:13 +0300 Subject: [PATCH] Let filter errors show up in status line --- noice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);