]> Sergey Matveev's repositories - nnn.git/commitdiff
Let filter errors show up in status line
authorlostd <lostd@2f30.org>
Fri, 10 Oct 2014 12:13:13 +0000 (15:13 +0300)
committerlostd <lostd@2f30.org>
Fri, 10 Oct 2014 12:13:13 +0000 (15:13 +0300)
noice.c

diff --git a/noice.c b/noice.c
index 11d950a7e4e2bf8c3909b2b24208dbb5e2ae703f..3330b675a8d7fd594333b0a20a93f3be7c942f08 100644 (file)
--- 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);