mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #188
This commit is contained in:
parent
6c141d1bb4
commit
1235a7a9a1
|
@ -3045,6 +3045,7 @@ nochange:
|
|||
case SEL_HELP: // fallthrough
|
||||
case SEL_LOCK:
|
||||
{
|
||||
if (ndents)
|
||||
mkpath(path, dents[cur].name, newpath, PATH_MAX);
|
||||
|
||||
switch (sel) {
|
||||
|
@ -3097,6 +3098,7 @@ nochange:
|
|||
presel = FILTER;
|
||||
|
||||
/* Save current */
|
||||
if (ndents)
|
||||
copycurname();
|
||||
|
||||
/* Repopulate as directory content may have changed */
|
||||
|
@ -3251,6 +3253,7 @@ nochange:
|
|||
|
||||
spawn("sh", "-c", g_buf, path, F_NORMAL | F_SIGINT);
|
||||
|
||||
if (ndents)
|
||||
copycurname();
|
||||
if (cfg.filtermode)
|
||||
presel = FILTER;
|
||||
|
|
Loading…
Reference in a new issue