Separator: add option --separator-length

This commit is contained in:
Carter Li committed 2024-07-17 09:16:35 +08:00
1 parent d869164d6b
commit d1609ea96b
4 files changed
+51 -4

No files matched your search

+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
}
}
},