feat(config): offer pwd OSC values in schema

The terminal writer accepts osc99, osc7 and osc51 (anything else falls
back to osc99), but schema.json typed pwd as a bare string - so neither
the website editor nor schema-aware editors (VS Code, yaml-language-
server) could offer the values. Same lenient enum-or-string shape the
segment style property already uses.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Entire-Checkpoint: 2b5eecac4b41
This commit is contained in:
Jan De Dobbeleer
2026-08-02 12:37:05 +02:00
committed by Jan De Dobbeleer
co-authored by Claude Fable 5
parent c53ff0de67
commit 8a3a06f611
+8 -1
View File
@@ -5478,7 +5478,14 @@
"default": false
},
"pwd": {
"type": "string",
"anyOf": [
{
"enum": ["osc99", "osc7", "osc51"]
},
{
"type": "string"
}
],
"title": "Enable OSC99/7/51",
"description": "Report the current working directory to the terminal using OSC 99, 7, or 51 sequences.",
"default": ""