Separator: add option --separator-length

This commit is contained in:
Carter Li
2024-07-17 09:16:25 +08:00
parent d869164d6b
commit d1609ea96b
4 changed files with 51 additions and 4 deletions
+8 -1
View File
@@ -1948,12 +1948,19 @@
"const": "separator"
},
"string": {
"description": "Set the string to be printed",
"description": "Set the string to be printed by the separator line",
"type": "string",
"default": "-"
},
"outputColor": {
"description": "Set the color of the separator line",
"$ref": "#/$defs/outputColor"
},
"length": {
"description": "Set the length of the separator line, or 0 to auto-detect",
"type": "integer",
"minimum": 0,
"default": 0
}
}
},