mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Let filter errors show up in status line
This commit is contained in:
parent
f30e02239e
commit
de7072bdd5
1 changed files with 1 additions and 1 deletions
2
noice.c
2
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue