[PR #17742] Allow OSC 17 to set the selection background color #31348

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

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

State: closed
Merged: Yes


This pull request adds support for setting and querying the selection
color with OSC 17.

To make this possible, I had to move selection color down into the color
table where it always belonged. This lets us get rid of the special
SetSelectionColor method from the surface of AtlasEngine, and reunites
selection colors with the rest of the special colors.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17742 **State:** closed **Merged:** Yes --- This pull request adds support for setting and querying the selection color with `OSC 17`. To make this possible, I had to move selection color down into the color table where it always belonged. This lets us get rid of the special `SetSelectionColor` method from the surface of AtlasEngine, and reunites selection colors with the rest of the special colors.
claunia added the pull-request label 2026-01-31 09:46:42 +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#31348