diff --git a/src/modules/custom/custom.c b/src/modules/custom/custom.c index 81e5aa416..47a83f77e 100644 --- a/src/modules/custom/custom.c +++ b/src/modules/custom/custom.c @@ -8,7 +8,8 @@ void ffPrintCustom(FFCustomOptions* options) { ffPrintLogoAndKey(FF_CUSTOM_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT); ffStrbufWriteTo(&options->moduleArgs.outputFormat, stdout); - puts(FASTFETCH_TEXT_MODIFIER_RESET); + if(!instance.config.display.pipe) + puts(FASTFETCH_TEXT_MODIFIER_RESET); } bool ffParseCustomCommandOptions(FFCustomOptions* options, const char* key, const char* value)