Skip to content

options that set foreground / background color don't seem to be propagated to tcell #326

@tcurdt

Description

@tcurdt

As terminal background might differ the color scheme needs to match.
To avoid this I would like to set background color to black.
I tried this:

t, err := tcell.New(tcell.ClearStyle(cell.ColorDefault, cell.ColorBlack))

but that doesn't quite do the right thing:

Screenshot 2022-04-30 at 02 32 59

Is there a way to do this that I am not seeing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions