Global: defaults percentType to 9 ( colored number )

This commit is contained in:
李通洲
2023-11-05 10:07:26 +08:00
parent 7a8e484634
commit 7660b0a091
5 changed files with 1 additions and 15 deletions
-3
View File
@@ -4,9 +4,6 @@
"type": "small"
},
"display": {
"percent": {
"type": 9
},
"separator": "\u001b[31m-> "
},
"modules": [
-3
View File
@@ -11,9 +11,6 @@
"size": {
"ndigits": 0,
"maxPrefix": "MB"
},
"percent": {
"type": 9
}
},
"modules": [
-3
View File
@@ -9,9 +9,6 @@
"charElapsed": "=",
"charTotal": "-",
"width": 13
},
"percent": {
"type": 9
}
},
"modules": [
-5
View File
@@ -8,11 +8,6 @@
"top": 2
}
},
"display": {
"percent": {
"type": 9
} // colored percent number
},
"modules": [
"title",
"separator",
+1 -1
View File
@@ -303,7 +303,7 @@ void ffOptionsInitDisplay(FFOptionsDisplay* options)
ffStrbufInitStatic(&options->barCharTotal, "-");
options->barWidth = 10;
options->barBorder = true;
options->percentType = 1;
options->percentType = 9;
options->percentNdigits = 0;
}