summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
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