mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #678] Render table without background color #494
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#494
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Naatan on GitHub (Dec 10, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/678
It seems at the moment the table logic defaults to using a black background. I can override this, but only with another color.
But what if I want NO color? Quite simply; don't set a background color. It doesn't seem like this is currently possible, and so you HAVE to provide a background color and in the case where you don't want to now have to deal with figuring out what color to use.
Please provide a way to render UI without background colors. Or even a way to render UI with all coloring stripped out.
@darkhz commented on GitHub (Dec 19, 2021):
If you're talking about using the terminal's background color, you can do this by supplying tcell.ColorDefault to SetBackgroundColor.
@rivo commented on GitHub (Feb 15, 2022):
Please see the FAQ for more info on this: https://github.com/rivo/tview/wiki/FAQ
In short, there is no "no colour".