-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for short hex color codes (like #CCC) #2639
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Comments
Yeah, we should probably support this. The first thing, not the HSLA thing. |
Should be a few lines' worth of change around here, right? Lines 92 to 105 in c97cccb
Can I try and take a stab at it? |
kojoru
added a commit
to kojoru/terminal
that referenced
this issue
Sep 4, 2019
kojoru
added a commit
to kojoru/terminal
that referenced
this issue
Sep 4, 2019
5 tasks
kojoru
added a commit
to kojoru/terminal
that referenced
this issue
Sep 4, 2019
DHowett-MSFT
pushed a commit
that referenced
this issue
Sep 4, 2019
This adds a few lines to support shorthand color hex codes like #ABC. They are treated as equivalent of #AABBCC. Fixes #2639.
🎉This issue was addressed in #2658, which has now been successfully released as Handy links: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Windows 10.0.18908.0. Terminal Preview 0.4.2382.0
Using
#CCC
instead of#CCCCCC
results in an unparsable settings file. Not a big deal but since most other places (eg browser devtools)) that take hex also take short codes, worth fixing.Not sure re: HSLA etc but that's a separate issue.
The text was updated successfully, but these errors were encountered: