KEMBAR78
Add bg+powerline background blend behavior by Tyriar · Pull Request #4920 · xtermjs/xterm.js · GitHub
Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Dec 19, 2023

When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.

This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o

Fixes #4918


WebGL only for now

No selection:

image

Selection:

image

When a with bg is selected, the cell's regular background will be blended
with 50% opacity selectionBackground in order to retain the bg color info
as well as getting the color to change and getting decent contrast.

This commit also fixes a terrible, nasty bug where the standalone shared
renderer tests were causing the terminal to open multiple times and not
get the WebGL addon activated the second time. So some tests were actually
testing the DOM renderer :o

Fixes xtermjs#4918
@Tyriar Tyriar added this to the 5.4.0 milestone Dec 19, 2023
@Tyriar Tyriar self-assigned this Dec 19, 2023
@Tyriar Tyriar marked this pull request as ready for review December 19, 2023 16:45
@Tyriar Tyriar enabled auto-merge December 19, 2023 16:46
@Tyriar Tyriar merged commit 341d9f0 into xtermjs:master Dec 19, 2023
Tyriar added a commit to Tyriar/xterm.js that referenced this pull request Jan 30, 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.

Allow background color to be seen through opaque background

1 participant