KEMBAR78
Fixes hex color serialization by arcanis · Pull Request #4833 · xtermjs/xterm.js · GitHub
Skip to content

Conversation

@arcanis
Copy link
Contributor

@arcanis arcanis commented Oct 4, 2023

I may be missing something, but it looks like the # character is missing from the generated colors, so the HTML serialization doesn't work.

edit: Unrelated but also weird, includeGlobalBackground actually still include a background, except that it's hardcoded to a white background. It probably should just skip assigning the global styles?

Copy link
Contributor

@silamon silamon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible that it wasn't tested during initial implementation. Thanks for the fix.

includeGlobalBackground uses the configured foreground and background of the terminal. When false it defaults to black color and white background indeed. I kind of agree it can be improved.

@Tyriar Tyriar added this to the 5.4.0 milestone Nov 2, 2023
@Tyriar Tyriar self-assigned this Nov 2, 2023
@Tyriar Tyriar enabled auto-merge November 2, 2023 16:25
@Tyriar Tyriar merged commit c9f1545 into xtermjs:master Nov 2, 2023
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.

3 participants