nnn

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

commit 298ce7639e4db867067a4d34177a77cbe9c09898
parent ca1e2a02d85e8ca72b8bb4e1962990bc526b0235
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 16 Mar 2018 22:46:03 +0530

Retain nav-as-you-type mode after exiting spawned shell

Diffstat:
Mnnn.c | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/nnn.c b/nnn.c @@ -3167,10 +3167,16 @@ nochange: case SEL_RUN: run = xgetenv(env, run); spawn(run, NULL, NULL, path, F_NORMAL | F_MARKER); - /* Repopulate as directory content may have changed */ + + /* Continue in navigate-as-you-type mode, if enabled */ + if (cfg.filtermode) + presel = FILTER; + /* Save current */ if (ndents > 0) copycurname(); + + /* Repopulate as directory content may have changed */ goto begin; case SEL_RUNARG: run = xgetenv(env, run);