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

Passing alpha channel as background color will break rendering #5255

Open
Tyriar opened this issue Dec 18, 2024 · 1 comment
Open

Passing alpha channel as background color will break rendering #5255

Tyriar opened this issue Dec 18, 2024 · 1 comment
Labels

Comments

@Tyriar
Copy link
Member

Tyriar commented Dec 18, 2024

VS Code issue: microsoft/vscode#204663

In VS Code setting "terminal.background": "#17171788" (or panel.background) will result in this:

Image

Only happens with webgl

@AnouarTouati
Copy link
Contributor

AnouarTouati commented Dec 21, 2024

Setting allowTransparency to true in the TerminalOptions seems to fix the issue in the Xterm demo and in VS Code.

It seems like there is some color combinations that cause the cells to be completely opaque when allowTransparency is false, and these cells have padding, so they render on top of each other and so only half of a character is shown.
Some of the combinations :

  • "#171717[00-99]"
  • "#F75756[00-F1]"

There are some comments on how setting allowTransparency to true will cause issues with performance, stroked lines and other things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants