[PR #16824] Make ColorFromXOrgAppColorName both smaller and more correct #31012

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

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

State: closed
Merged: Yes


We don't need to use stringstream to generate a ten-character string, and we for sure don't need to use the locale-aware ctype functions after we just wrote a comment saying "XOrg colors are always Latin-1"

Size Diff Object Library
-11.8 KB colorTable.obj ConTypes
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16824 **State:** closed **Merged:** Yes --- We don't need to use `stringstream` to generate a ten-character string, and we for _sure_ don't need to use the locale-aware ctype functions after we just wrote a comment saying "XOrg colors are always Latin-1" | Size Diff | Object | Library | | --------- | -------------- | -------- | | -11.8 KB | colorTable.obj | ConTypes |
claunia added the pull-request label 2026-01-31 09:44:33 +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#31012