mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Let filter errors show up in status line
This commit is contained in:
parent
f30e02239e
commit
de7072bdd5
2
noice.c
2
noice.c
|
@ -530,6 +530,7 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
case SEL_FLTR:
|
case SEL_FLTR:
|
||||||
/* Read filter */
|
/* Read filter */
|
||||||
|
printmsg("");
|
||||||
move(LINES - 1, 0);
|
move(LINES - 1, 0);
|
||||||
printw("filter: ");
|
printw("filter: ");
|
||||||
tmp = readln();
|
tmp = readln();
|
||||||
|
@ -540,7 +541,6 @@ nochange:
|
||||||
r = setfilter(&re, tmp);
|
r = setfilter(&re, tmp);
|
||||||
if (r != 0) {
|
if (r != 0) {
|
||||||
free(tmp);
|
free(tmp);
|
||||||
printmsg("");
|
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
free(filter);
|
free(filter);
|
||||||
|
|
Loading…
Reference in a new issue