fix(schema): update max and min cols to width

This commit is contained in:
ivan-the-terrible 2024-05-01 12:06:51 -04:00 committed by Jan De Dobbeleer
parent b3ead100d2
commit b460faeda7

View file

@ -425,16 +425,16 @@
"join" "join"
] ]
}, },
"max_cols": { "max_width": {
"type": "integer", "type": "integer",
"title": "if the terminal width exceeds this value, the segment will be hidden", "title": "if the terminal width exceeds this value, the segment will be hidden",
"description": "https://ohmyposh.dev/docs/configuration/segment#max_cols", "description": "https://ohmyposh.dev/docs/configuration/segment",
"default": 0 "default": 0
}, },
"min_cols": { "min_width": {
"type": "integer", "type": "integer",
"title": "if the terminal width is inferior than this value, the segment will be hidden", "title": "if the terminal width is inferior than this value, the segment will be hidden",
"description": "https://ohmyposh.dev/docs/configuration/segment#min_cols", "description": "https://ohmyposh.dev/docs/configuration/segment",
"default": 0 "default": 0
}, },
"properties": { "properties": {