[GH-ISSUE #678] Render table without background color #494

Closed
opened 2026-03-04 01:05:29 +03:00 by kerem · 2 comments
Owner

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.

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.
kerem closed this issue 2026-03-04 01:05:29 +03:00
Author
Owner

@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.

<!-- gh-comment-id:997363847 --> @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.
Author
Owner

@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".

<!-- gh-comment-id:1040316627 --> @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".
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#494
No description provided.