This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 937
Colors between 008-015 are not working as I expected #927
Comments
This seems quite intentional, but I do not really understand the reason behind mapping colors If anyone can provide any information or a suggested fix, then I'd appreciate it. |
Slabity
changed the title
Colors between 008-015 are not working properly
Colors between 008-015 are not working as I expected
Jul 23, 2018
Merged
Hi @Slabity ! Sorry for the late response. I wrote the code you mentioned. This code is quite old (about 3 years). Commit: 0e37d8e. TBH, I am not sure why I did it like this. Probably because the bright colors did not work on my machine, or at least I saw no difference and I wanted to treat these colors as if they were the non bright version.. I think the code could be removed safely. |
Looks like it worked. Thanks! |
Merged into master as part of #944! Will be in the v0.6.6 release. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe Your Issue
Colors from the
008
-015
range are not working properly in my terminal.I expect this: https://i.imgur.com/6uUBOgX.png
But I get this: https://i.imgur.com/tjzI9IE.png
Have you tried to debug or fix it?
Yes. It appears the issue originates from 4d18fdc. In
functions/colors.zsh
, there are two points where we subtract 8 from the actual color given. Removing these seems to fix my color issues.In
function getColor()
:In
function getColorCode()
:Environment Information
Not sure how much of this matters:
The text was updated successfully, but these errors were encountered: