mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Colors: don't disable color if --color-symbol background is set in --pipe mode
This commit is contained in:
@@ -34,8 +34,7 @@ void ffPrintColors(FFColorsOptions* options)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!instance.config.display.pipe)
|
||||
ffStrbufAppendF(&result, "\e[4%dm", i);
|
||||
ffStrbufAppendF(&result, "\e[4%dm", i);
|
||||
ffStrbufAppendNC(&result, options->block.width, ' ');
|
||||
}
|
||||
}
|
||||
@@ -65,8 +64,7 @@ void ffPrintColors(FFColorsOptions* options)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!instance.config.display.pipe)
|
||||
ffStrbufAppendF(&result, "\e[10%dm", i - 8);
|
||||
ffStrbufAppendF(&result, "\e[10%dm", i - 8);
|
||||
ffStrbufAppendNC(&result, options->block.width, ' ');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user