Custom: detect & convert color placeholders ({#xxx})

This commit is contained in:
Carter Li
2024-05-28 14:23:19 +08:00
parent 81e0af8999
commit 5fa18a8a1c
3 changed files with 19 additions and 20 deletions
+1 -4
View File
@@ -6,10 +6,7 @@
void ffPrintCustom(FFCustomOptions* options)
{
ffPrintLogoAndKey(FF_CUSTOM_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT);
ffStrbufWriteTo(&options->moduleArgs.outputFormat, stdout);
if(!instance.config.display.pipe)
puts(FASTFETCH_TEXT_MODIFIER_RESET);
ffPrintFormat(FF_CUSTOM_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT, 0, ((FFformatarg[]) {}));
}
bool ffParseCustomCommandOptions(FFCustomOptions* options, const char* key, const char* value)