nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit eaba594a9e713b35eafd1e71ac82f9fc0fb42585
parent 6d77b040329e28af26859664090212bf0254119f
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri,  7 Feb 2020 05:53:15 +0530

Clear filter on a manual dir relaod

Diffstat:
Msrc/nnn.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2225,7 +2225,8 @@ static int nextsel(int presel) if (c == ERR && presel == MSGWAIT) 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(); }