Show marker only when spawning a shell.

This commit is contained in:
Arun Prakash Jana 2017-04-06 09:57:32 +05:30
parent 579316b5c0
commit e5b9a11584
No known key found for this signature in database
GPG key ID: A75979F35C080412

4
nnn.c
View file

@ -1185,7 +1185,7 @@ nochange:
}
}
exitcurses();
spawn(bin, newpath, NULL, 1);
spawn(bin, newpath, NULL, 0);
initcurses();
continue;
}
@ -1351,7 +1351,7 @@ nochange:
case SEL_RUN:
run = xgetenv(env, run);
exitcurses();
spawn(run, NULL, path, 0);
spawn(run, NULL, path, 1);
initcurses();
/* Re-populate as directory content may have changed */
goto begin;