mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
ASCII Art to indicate nnn launched program
This commit is contained in:
parent
754ea4d3ef
commit
10a18bf07e
1
nnn.c
1
nnn.c
|
@ -281,6 +281,7 @@ spawn(char *file, char *arg, char *dir)
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
if (dir != NULL)
|
if (dir != NULL)
|
||||||
status = chdir(dir);
|
status = chdir(dir);
|
||||||
|
fprintf(stdout, "\n +-++-++-+\n | n n n |\n +-++-++-+\n\n");
|
||||||
execlp(file, file, arg, NULL);
|
execlp(file, file, arg, NULL);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue