Colors: support --colors-symbol

This commit is contained in:
Carter Li
2023-06-18 14:00:24 +08:00
parent 35e57741d3
commit ba45229db0
12 changed files with 156 additions and 20 deletions
+1
View File
@@ -136,6 +136,7 @@ Module specific options:
--command-shell <str>: Set the shell program to execute the command text. Default is cmd for Windows, csh for FreeBSD, bash for others
--command-key <str>: Set the module key to display
--command-text <str>: Set the command text to be executed
--colors-symbol <str>: Set the symbol to be printed by Colors module. Default is block
Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci"
If a value starts with a ?, it is optional. "true" will be used if not set.
+21 -1
View File
@@ -436,7 +436,7 @@
{
"properties": {
"type": {
"enum": ["Break", "Colors"]
"enum": ["Break"]
}
},
"additionalProperties": false
@@ -547,6 +547,26 @@
},
"additionalProperties": false
},
{
"properties": {
"type": {
"enum": ["Colors"]
},
"symbol": {
"title": "Set the symbol to use",
"type": "string",
"enum": [
"block",
"circle",
"diamond",
"triangle",
"square",
"star"
],
"default": "blocks"
}
}
},
{
"properties": {
"type": {