summaryrefslogtreecommitdiff
path: root/gocui/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-11 19:10:24 -0600
committerJeff Carr <[email protected]>2024-01-11 19:10:24 -0600
commit3b258d0ce0e20ffedf8804409a16abbe84f1d383 (patch)
tree0273746324f274f5c95e96a32b06911f4dd40e05 /gocui/structs.go
parentc4582b0b30e3020a92baf299572d8617872d45e5 (diff)
var value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/structs.go')
-rw-r--r--gocui/structs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/gocui/structs.go b/gocui/structs.go
index 5a8830a..a3ca566 100644
--- a/gocui/structs.go
+++ b/gocui/structs.go
@@ -118,6 +118,9 @@ type guiWidget struct {
v *gocui.View // this is nil if the widget is not displayed
cuiName string // what gocui uses to reference the widget
+ // the actual text to display in the console
+ label string
+
// the logical size of the widget
// For example, 40x12 would be the center of a normal terminal
// size rectType