File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ void ffPrintColors(FFColorsOptions* options)
4646 if (options -> paddingLeft > 0 )
4747 ffPrintCharTimes (' ' , options -> paddingLeft );
4848
49- if (!instance .config .display .pipe )
49+ if (!instance .config .display .pipe || options -> symbol == FF_COLORS_SYMBOL_BACKGROUND )
5050 ffStrbufAppendS (& result , FASTFETCH_TEXT_MODIFIER_RESET );
5151 ffStrbufPutTo (& result , stdout );
5252 ffStrbufClear (& result );
@@ -102,7 +102,7 @@ void ffPrintColors(FFColorsOptions* options)
102102
103103 if (options -> paddingLeft > 0 )
104104 ffPrintCharTimes (' ' , options -> paddingLeft );
105- if (!instance .config .display .pipe )
105+ if (!instance .config .display .pipe || options -> symbol == FF_COLORS_SYMBOL_BACKGROUND )
106106 ffStrbufAppendS (& result , FASTFETCH_TEXT_MODIFIER_RESET );
107107 ffStrbufPutTo (& result , stdout );
108108 }
You can’t perform that action at this time.
0 commit comments