Bar: add configurable elapsed bar borders for percent bars

Fix #1875
This commit is contained in:
李通洲
2025-08-01 10:51:26 +08:00
parent 671b11157e
commit afe2c85047
5 changed files with 61 additions and 5 deletions
+10
View File
@@ -1017,6 +1017,16 @@
"description": "Set the string to use at right border",
"default": " ]"
},
"borderLeftElapsed": {
"type": "string",
"description": "If both borderLeftElapsed and borderRightElapsed are set, the border will be used as parts of bar content",
"default": ""
},
"borderRightElapsed": {
"type": "string",
"description": "If both borderLeftElapsed and borderRightElapsed are set, the border will be used as parts of bar content",
"default": ""
},
"width": {
"type": "integer",
"description": "Set the width of the bar, in number of characters",