Skip to content

Transparency for separators #409

Open
@kjnsn

Description

@kjnsn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions