Browse Source

Just show the last level

master
Arun Prakash Jana 6 years ago
parent
commit
965fc2c876
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/nnn.c

+ 1
- 2
src/nnn.c View File

@@ -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) {


Loading…
Cancel
Save