mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Just show the last level
This commit is contained in:
parent
dc6c72f294
commit
965fc2c876
|
@ -973,8 +973,7 @@ static void spawn(const char *file, const char *arg1, const char *arg2, const ch
|
||||||
|
|
||||||
/* Show a marker (to indicate nnn spawned shell) */
|
/* Show a marker (to indicate nnn spawned shell) */
|
||||||
if (flag & F_MARKER && tmp)
|
if (flag & F_MARKER && tmp)
|
||||||
fprintf(stdout, "\n +-++-++-+\n | n n n |\n +-++-++-+\n\n"
|
fprintf(stdout, "\n +-++-++-+\n | n n n | %d\n +-++-++-+\n\n", xatoi(tmp));
|
||||||
"Last nnn level: %d\n", xatoi(tmp));
|
|
||||||
|
|
||||||
/* Suppress stdout and stderr */
|
/* Suppress stdout and stderr */
|
||||||
if (flag & F_NOTRACE) {
|
if (flag & F_NOTRACE) {
|
||||||
|
|
Loading…
Reference in a new issue