[PR #12099] Update RGB values when selecting a conhost color property #28851

Open
opened 2026-01-31 09:31:11 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12099

State: closed
Merged: Yes


When editing colors in the conhost properties dialog, and you select an
item to update (e.g. Screen Text, or Screen Background), the associated
color swatch for that item would be highlighted, but the RGB color
values weren't updated to reflect that selection. This PR fixes it so
the RGB values are now correctly refreshed.

I just copied the three lines used up update the color value fields from
the code that handles changes to the color swatch selection. I didn't
think it was worth pulling those three lines out into a separate
function.

Validation Steps Performed

I've manually verified that the RGB values are now refreshed correctly
when selecting a color item to update.

Closes #1220

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12099 **State:** closed **Merged:** Yes --- When editing colors in the conhost properties dialog, and you select an item to update (e.g. Screen Text, or Screen Background), the associated color swatch for that item would be highlighted, but the RGB color values weren't updated to reflect that selection. This PR fixes it so the RGB values are now correctly refreshed. I just copied the three lines used up update the color value fields from the code that handles changes to the color swatch selection. I didn't think it was worth pulling those three lines out into a separate function. ## Validation Steps Performed I've manually verified that the RGB values are now refreshed correctly when selecting a color item to update. Closes #1220
claunia added the pull-request label 2026-01-31 09:31:11 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28851