mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 10:14:12 -05:00
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:
committed by
Jan De Dobbeleer
co-authored by
Claude Fable 5
parent
c53ff0de67
commit
8a3a06f611
+8
-1
@@ -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": ""
|
||||
|
||||
Reference in New Issue
Block a user