]> Sergey Matveev's repositories - nnn.git/commitdiff
Just show the last level
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Feb 2019 02:31:16 +0000 (08:01 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Feb 2019 02:36:24 +0000 (08:06 +0530)
src/nnn.c

index 0d0df46400321cb47fc44db311954a579fa70300..324247069def187dd7ed9c70e2bb3ee04941b83e 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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) */
                if (flag & F_MARKER && tmp)
-                       fprintf(stdout, "\n +-++-++-+\n | n n n |\n +-++-++-+\n\n"
-                                       "Last nnn level: %d\n", xatoi(tmp));
+                       fprintf(stdout, "\n +-++-++-+\n | n n n | %d\n +-++-++-+\n\n", xatoi(tmp));
 
                /* Suppress stdout and stderr */
                if (flag & F_NOTRACE) {