Skip to content

Fix foreground and background colors#111

Merged
cdepillabout merged 1 commit into
masterfrom
background-color-stuff
Jun 25, 2019
Merged

Fix foreground and background colors#111
cdepillabout merged 1 commit into
masterfrom
background-color-stuff

Conversation

@cdepillabout

@cdepillabout cdepillabout commented Jun 25, 2019

Copy link
Copy Markdown
Owner

This PR fixes the bug in #29 with not being able to set the background color for a terminal if the palette was set.

In #110, @dakotaclemenceplaza figured out that this was caused by not setting any value for the alpha channel of an RGBA color.

This PR uses the fix from #110 and simplifies some of the logic for setting colors.

Fixes #29

@cdepillabout

Copy link
Copy Markdown
Owner Author

@dakotaclemenceplaza Could you try this out on your machine and make sure you're still able to set the foreground and background colors properly?

I just want to make sure this PR is working as well as you have #110 working.

@dakotaclemenceplaza

Copy link
Copy Markdown
Contributor

@cdepillabout Everything works as expected.

@cdepillabout cdepillabout merged commit 3776e63 into master Jun 25, 2019
@cdepillabout cdepillabout deleted the background-color-stuff branch June 25, 2019 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

can't set background color for terminal

2 participants