Unable to set colors above index 15 with OSC 4 #461

Closed
opened 2026-01-30 21:52:54 +00:00 by claunia · 5 comments
Owner

Originally created by @zadjii-msft on GitHub (Nov 26, 2018).

Originally assigned to: @zadjii-msft on GitHub.

From #81:

Conhost doesn't support setting color table entries above 130.

Here's xterm printing in 130 by default:
image

I couldn't get the syntax just right, but for example, you definitely can change the colors of the extended table:
image
Note how color 130 is now a black square, instead of the color it usually is

Originally created by @zadjii-msft on GitHub (Nov 26, 2018). Originally assigned to: @zadjii-msft on GitHub. From #81: Conhost doesn't support setting color table entries above 130. Here's xterm printing in 130 by default: ![image](https://user-images.githubusercontent.com/18356694/49031503-f6860c00-f15e-11e8-9d72-1bd519dc1c3a.png) I couldn't get the syntax just right, but for example, you definitely can change the colors of the extended table: ![image](https://user-images.githubusercontent.com/18356694/49031740-af4c4b00-f15f-11e8-90b9-ddbac7d62b4f.png) Note how color 130 is now a black square, instead of the color it usually is
claunia added the Product-ConhostResolution-Fix-AvailableWork-ItemArea-VT labels 2026-01-30 21:52:54 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 26, 2018):

MSFT:19723934

@zadjii-msft commented on GitHub (Nov 26, 2018): MSFT:19723934
Author
Owner

@miniksa commented on GitHub (Jan 18, 2019):

I checked this morning and this fix should be in Insiders builds 18312 and higher (build on or after 2019-01-04).

@miniksa commented on GitHub (Jan 18, 2019): I checked this morning and this fix should be in Insiders builds 18312 and higher (build on or after 2019-01-04).
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 18, 2019):

This one's a little funny, actually. Most of the fix is in 18312, but it'll only work for colors 0-99. Colors 100-255 will probably be in whatever insider build comes next.

@DHowett-MSFT commented on GitHub (Jan 18, 2019): This one's a little funny, actually. Most of the fix is in 18312, but it'll only work for colors 0-99. Colors 100-255 will probably be in whatever insider build comes next.
Author
Owner

@miniksa commented on GitHub (Jan 18, 2019):

Yes, sorry, this one had two changelists on it. It's also inbound.

@miniksa commented on GitHub (Jan 18, 2019): Yes, sorry, this one had two changelists on it. It's also inbound.
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 8, 2019):

This is now fully supported as of insider's build 18334.

@DHowett-MSFT commented on GitHub (Feb 8, 2019): This is now fully supported as of insider's build 18334.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#461