Use simpler descriptions

This commit is contained in:
Arun Prakash Jana 2018-04-24 08:43:32 +05:30
parent c6f9af931f
commit 28f303699c
No known key found for this signature in database
GPG key ID: A75979F35C080412

6
nnn.c
View file

@ -300,12 +300,12 @@ static char * const utils[] = {
static const char messages[][16] = static const char messages[][16] =
{ {
"nftw(3) failed", "nftw failed",
"already at /", "already at /",
"HOME not set", "HOME not set",
"no traversal", "no traversal",
"invalid key", "invalid key",
"set copy method", "copy not set",
"%F %T %z", "%F %T %z",
}; };
@ -743,7 +743,7 @@ spawn(const char *file, const char *arg1, const char *arg2, const char *dir, uch
/* Show a marker (to indicate nnn spawned shell) */ /* Show a marker (to indicate nnn spawned shell) */
if (flag & F_MARKER && shlvl != NULL) { if (flag & F_MARKER && shlvl != NULL) {
printf("\n +-++-++-+\n | n n n |\n +-++-++-+\n\n"); printf("\n +-++-++-+\n | n n n |\n +-++-++-+\n\n");
printf("Spawned shell level: %d\n", atoi(shlvl) + 1); printf("Next shell level: %d\n", atoi(shlvl) + 1);
} }
/* Suppress stdout and stderr */ /* Suppress stdout and stderr */