mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #270] SetBackgroundColor(-1) issue #209
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#209
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 @eu81273 on GitHub (Apr 18, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/270
To match the background color with the terminal system background color, must set the SetBackgroundColor value to -1(tcell.ColorDefault).
Setting the BackgroundColor to -1 is works fine for most components, but for the List component produces unexpected results like below...
@diamondburned commented on GitHub (Apr 20, 2019):
Try
@eu81273 commented on GitHub (Apr 22, 2019):
@diamondburned
Thank you. SetBeforeDrawFunc works perfect.