mirror of
https://github.com/jarun/nnn.git
synced 2024-11-16 08:03:16 +00:00
Show marker only when spawning a shell.
This commit is contained in:
parent
579316b5c0
commit
e5b9a11584
4
nnn.c
4
nnn.c
|
@ -1185,7 +1185,7 @@ nochange:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exitcurses();
|
exitcurses();
|
||||||
spawn(bin, newpath, NULL, 1);
|
spawn(bin, newpath, NULL, 0);
|
||||||
initcurses();
|
initcurses();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1351,7 +1351,7 @@ nochange:
|
||||||
case SEL_RUN:
|
case SEL_RUN:
|
||||||
run = xgetenv(env, run);
|
run = xgetenv(env, run);
|
||||||
exitcurses();
|
exitcurses();
|
||||||
spawn(run, NULL, path, 0);
|
spawn(run, NULL, path, 1);
|
||||||
initcurses();
|
initcurses();
|
||||||
/* Re-populate as directory content may have changed */
|
/* Re-populate as directory content may have changed */
|
||||||
goto begin;
|
goto begin;
|
||||||
|
|
Loading…
Reference in a new issue