mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Clear filter on a manual dir relaod
This commit is contained in:
parent
6d77b04032
commit
eaba594a9e
|
@ -2225,7 +2225,8 @@ static int nextsel(int presel)
|
||||||
|
|
||||||
if (c == ERR && presel == MSGWAIT)
|
if (c == ERR && presel == MSGWAIT)
|
||||||
c = (cfg.filtermode) ? FILTER : CONTROL('L');
|
c = (cfg.filtermode) ? FILTER : CONTROL('L');
|
||||||
else if (c == FILTER) /* Clear previous filter when manually starting */
|
else if (c == FILTER || c == CONTROL('L'))
|
||||||
|
/* Clear previous filter when manually starting */
|
||||||
clearfilter();
|
clearfilter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue