Open ardawan opened 1 month ago
Container primitives such as Flex
or Grid
don't clear the screen they occupy. So the background colour is ignored. One of the reasons is that they are used to position other elements on the screen. See for example the Wiki: https://github.com/rivo/tview/wiki/Modal
I'm not sure if this is a bug or I'm not familiar with this package. Understand that each
Flex
type has a*Box
as mentioned in the doc.But when I try to set the background color for the box, nothing will change.
So the question is how can we set a background color for the whole flex primitive?