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