]> Sergey Matveev's repositories - nnn.git/commitdiff
ASCII Art to indicate nnn launched program
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 3 Apr 2017 19:07:44 +0000 (00:37 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 3 Apr 2017 19:07:44 +0000 (00:37 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index b80b017aed7a8b77442ad4e3750014fbb19d6dc7..a04e24a734de856793d0e62d72423c8262759338 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -281,6 +281,7 @@ spawn(char *file, char *arg, char *dir)
        if (pid == 0) {
                if (dir != NULL)
                        status = chdir(dir);
+               fprintf(stdout, "\n +-++-++-+\n | n n n |\n +-++-++-+\n\n");
                execlp(file, file, arg, NULL);
                _exit(1);
        } else {