ASCII Art to indicate nnn launched program

This commit is contained in:
Arun Prakash Jana 2017-04-04 00:37:44 +05:30
parent 754ea4d3ef
commit 10a18bf07e
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 0 deletions

1
nnn.c
View File

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