Skip to content

Fix background colors#3

Merged
psibi merged 2 commits intopsibi:masterfrom
alx741:fix-colors
May 2, 2017
Merged

Fix background colors#3
psibi merged 2 commits intopsibi:masterfrom
alx741:fix-colors

Conversation

@alx741
Copy link
Copy Markdown
Contributor

@alx741 alx741 commented May 2, 2017

So I'm using solarized-light color scheme, and for me it looks like this:

After this fix, it looks right:

I also test it with a dark background, and it works fine:

Making fgColor = Black and bgColor = White wouldn't work, the reason is that what the terminal's color pallette white is, may or may not be what the background color is. So the result ends up looking wrong again:

I can't think of a case on which one would like to have the background of the printed out text to be different to the terminal's background color, hence the fix.

@psibi
Copy link
Copy Markdown
Owner

psibi commented May 2, 2017

@alx741 Thanks for the fix. Can you update the changelog and bump the version to 0.2.1 ? I will merge this once the Travis passes.

@alx741
Copy link
Copy Markdown
Contributor Author

alx741 commented May 2, 2017

Sure thing

@psibi psibi merged commit d567e52 into psibi:master May 2, 2017
@psibi
Copy link
Copy Markdown
Owner

psibi commented May 2, 2017

Thanks. Have released a new version with your changes.

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.

2 participants