mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Retain nav-as-you-type mode after exiting spawned shell
This commit is contained in:
parent
ca1e2a02d8
commit
298ce7639e
8
nnn.c
8
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);
|
||||
|
|
Loading…
Reference in a new issue