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

Transparency for separators #409

Open
kjnsn opened this issue Oct 23, 2024 · 0 comments
Open

Transparency for separators #409

kjnsn opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kjnsn
Copy link
Collaborator

kjnsn commented Oct 23, 2024

Several components do not handle transparency well.

This is how "transparency" works in terminal emulators:

This is how separators behave:

The catch is that most terminal emulators will set the opacity of a cell to 1.0 when inverse is applied. e.g. in alacritty: https://github.com/alacritty/alacritty/blob/2112e90f0dcb77a60b3ef68f3b48e5320ad46de6/alacritty/src/display/content.rs#L216

Problem: how to ensure the background at the end of the separator is set to bg=49 without mandating that all separators use powerline glyphs. I.e. I still want to use a space for the separator, or a mix of whitespace and glyphs if I want to

@kjnsn kjnsn added the meta label Oct 23, 2024
@kjnsn kjnsn changed the title Transparency Transparency for separators Oct 23, 2024
@kjnsn kjnsn added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed meta labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant