Presets: fix regression #606

This commit is contained in:
李通洲
2023-11-02 09:32:58 +08:00
parent 315cb24046
commit c29960abf2
4 changed files with 16 additions and 6 deletions
+3 -1
View File
@@ -4,7 +4,9 @@
"type": "small"
},
"display": {
"percentType": 9,
"percent": {
"type": 9
},
"separator": "\u001b[31m-> "
},
"modules": [
+7 -3
View File
@@ -8,9 +8,13 @@
"color": {
"keys": "magenta"
},
"sizeNdigits": 0,
"sizeMaxPrefix": "MB",
"percentType": 9
"size": {
"ndigits": 0,
"maxPrefix": "MB"
},
"percent": {
"type": 9
}
},
"modules": [
{
+3 -1
View File
@@ -4,12 +4,14 @@
"type": "small"
},
"display": {
"percentType": 6,
"keyWidth": 11,
"bar": {
"charElapsed": "=",
"charTotal": "-",
"width": 13
},
"percent": {
"type": 9
}
},
"modules": [
+3 -1
View File
@@ -9,7 +9,9 @@
}
},
"display": {
"percentType": 9 // colored percent number
"percent": {
"type": 9
} // colored percent number
},
"modules": [
"title",