Skip to content

Support selection foreground being cell foreground #2685

@mitchellh

Description

@mitchellh

From #2656

Unlike #2656, the final approach I am going to suggest for this is to change selection-foreground to a tagged union in Zig and take some additional types. As part of this, I also propose removing selection-invert-fg-bg (cc @gpanders) and making it part of that union. Proposal:

# default
selection-foreground = window-background

# discussion 2656
selection-foreground = cell-foreground

# explicit color
selection-foreground = ABC123

# replacing selection-invert-fg-bg
selection-foreground = cell-background
selection-background = cell-foreground

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyA well-scoped, approachable issue for someone looking to contributor.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions