Just show the last level

This commit is contained in:
Arun Prakash Jana 2019-02-24 08:01:16 +05:30
parent dc6c72f294
commit 965fc2c876
No known key found for this signature in database
GPG key ID: A75979F35C080412

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) */ /* 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) {