Allow null for some color settings in the schema #7328

Closed
opened 2026-01-31 01:01:13 +00:00 by claunia · 2 comments
Owner

Originally created by @carlos-zamora on GitHub (Apr 8, 2020).

Originally assigned to: @carlos-zamora on GitHub.

cursorColor, foreground, and background are actually allowed to be null, as that is what they default to. null means that the profile inherits the value of the color scheme.

Originally created by @carlos-zamora on GitHub (Apr 8, 2020). Originally assigned to: @carlos-zamora on GitHub. `cursorColor`, `foreground`, and `background` are actually allowed to be null, as that is what they default to. `null` means that the profile inherits the value of the color scheme.
Author
Owner

@carlos-zamora commented on GitHub (Apr 8, 2020):

Suggestion from Dustin: try oneOf: {ref Color, type: null}

@carlos-zamora commented on GitHub (Apr 8, 2020): Suggestion from Dustin: try `oneOf: {ref Color, type: null}`
Author
Owner

@ghost commented on GitHub (Apr 29, 2020):

:tada:This issue was addressed in #5304, which has now been successfully released as Windows Terminal Preview v0.11.1191.0.🎉

Handy links:

@ghost commented on GitHub (Apr 29, 2020): :tada:This issue was addressed in #5304, which has now been successfully released as `Windows Terminal Preview v0.11.1191.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.11.1191.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7328