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

fix: ANSI background colors not rendered correctly #153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gabe565
Copy link

@gabe565 gabe565 commented Nov 21, 2024

Currently, ANSI background colors are rendered as either gray or black since the fill is not correctly selected. This PR makes the correct color get chosen.

Before:
Example of current behavior

After:
Example with fixed background colors

I generated the previews with gabe565/print-xterm256-go if you want to test this change.

@gabe565 gabe565 changed the title fix: ANSI background colors always rendered as gray fix: ANSI background colors not rendered correctly Nov 21, 2024
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.

1 participant