diff --git a/src/fastfetch.c b/src/fastfetch.c index 607845c46..3480af0c7 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -45,7 +45,7 @@ static void printCommandHelp(const char* command) if(command == NULL) { static char input[] = FASTFETCH_DATATEXT_HELP; - if (isatty(STDOUT_FILENO)) + if (!instance.config.display.pipe) { char* token = strtok(input, "\n"); puts(token);