[PR #66] colortool: add support for fg/bg color slot designation, and color approximation #24067

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

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

State: closed
Merged: Yes


This is an attempt to partially fix https://github.com/Microsoft/console/issues/23.
To wrap it up:

  1. uint[] colorTable -> class ColorScheme.
  2. XML scheme parser now reads foreground/background colors.
  3. fg/bg color slots are actually designated with wAttributes field in the console info structure.
  4. fg/bg color indices are selected based on color similarity -- WIP
**Original Pull Request:** https://github.com/microsoft/terminal/pull/66 **State:** closed **Merged:** Yes --- This is an attempt to partially fix https://github.com/Microsoft/console/issues/23. To wrap it up: 1. uint[] colorTable -> class ColorScheme. 2. XML scheme parser now reads foreground/background colors. 3. fg/bg color slots are actually designated with wAttributes field in the console info structure. 4. fg/bg color indices are selected based on color similarity -- WIP
claunia added the pull-request label 2026-01-31 09:01:14 +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#24067