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

This commit is contained in:
Arun Prakash Jana 2018-03-16 22:46:03 +05:30
parent ca1e2a02d8
commit 298ce7639e
No known key found for this signature in database
GPG key ID: A75979F35C080412

8
nnn.c
View file

@ -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);