Skip to content
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

Fixes inverse color text (when background == 0) #66

Merged

Conversation

devmil
Copy link
Contributor

@devmil devmil commented Sep 21, 2021

This PR adds a detection for cell color == 0 and returns black when the color is needed inverse.
This is only used for the foreground painter (background has to be transparent when not set) and solves issues when cells used inverse colors and there was no background set (which led to a transparent text rendered)

@xtyxtyx xtyxtyx merged commit 1fa516e into TerminalStudio:master Sep 23, 2021
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