diff options
author | 2018-03-16 22:46:03 +0530 | |
---|---|---|
committer | 2018-03-16 22:46:03 +0530 | |
commit | 298ce7639e4db867067a4d34177a77cbe9c09898 (patch) | |
tree | 111a954f73751f1fe61a7d8fab67148736212b0e /nnn.c | |
parent | ca1e2a02d85e8ca72b8bb4e1962990bc526b0235 (diff) | |
download | nnn-298ce7639e4db867067a4d34177a77cbe9c09898.tar.gz |
Retain nav-as-you-type mode after exiting spawned shell
Diffstat (limited to 'nnn.c')
-rw-r--r-- | nnn.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |