mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
JsonConfig: set showErrors=true implicitly if stat is enabled
This commit is contained in:
@@ -301,7 +301,10 @@ const char* ffParseGeneralJsonConfig(void)
|
||||
else if (ffStrEqualsIgnCase(key, "thread") || ffStrEqualsIgnCase(key, "multithreading"))
|
||||
config->multithreading = yyjson_get_bool(val);
|
||||
else if (ffStrEqualsIgnCase(key, "stat"))
|
||||
{
|
||||
config->stat = yyjson_get_bool(val);
|
||||
config->showErrors= config->stat;
|
||||
}
|
||||
else if (ffStrEqualsIgnCase(key, "escapeBedrock"))
|
||||
config->escapeBedrock = yyjson_get_bool(val);
|
||||
else if (ffStrEqualsIgnCase(key, "pipe"))
|
||||
|
||||
Reference in New Issue
Block a user