Skip to content

Unable to set colors above index 15 with OSC 4, take 2 #3717

@egmontkob

Description

@egmontkob

Environment

Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.7.3291.0

Steps to reproduce

Allegedly already fixed in #313, but doesn't work in v0.7:

echo -ne '\e]4;15;rgb:ab/cd/ef\e\\'
echo -ne '\e]4;16;rgb:ab/cd/ef\e\\'

Expected behavior

Set palette index 15 and 16 to the given color.

Actual behavior

Color index 15 is set to the given value (works for 0..15), index 16 remains unchanged (doesn't work for 16..255).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsProduct-ConhostFor issues in the Console codebaseResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions