summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-03 11:52:54 -0500
committerJeff Carr <[email protected]>2023-04-03 11:52:54 -0500
commit55c7b44594096f338676d1b133acd4c649d1d6b8 (patch)
treed3872f5230ee1ddde24aa61efa48b6703f81b644 /toolkit/gocui/structs.go
parent4b6207743b90968d6b822032a4355e43b6ce6da9 (diff)
gocui: more color cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/structs.go')
-rw-r--r--toolkit/gocui/structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go
index a3f0207..2b91de4 100644
--- a/toolkit/gocui/structs.go
+++ b/toolkit/gocui/structs.go
@@ -87,7 +87,8 @@ type cuiWidget struct {
vals []string // dropdown menu options
- visable bool // widget types like 'box' are 'false'
+ visable bool // track if it's currently supposed to be shown
+ isFake bool // widget types like 'box' are 'false'
realWidth int // the real width
realHeight int // the real height
realSize rectType // the display size of this widget