summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-26 14:25:48 -0500
committerJeff Carr <[email protected]>2023-04-26 14:25:48 -0500
commitd4b0b8b6b6e3141114ebb448438922192c725763 (patch)
tree7439b651b89c68ec117adaf3126e7b5bcbc677f4 /toolkit/gocui/structs.go
parent18661d38da0a56c2044b6964f2e09f8bb81d1be3 (diff)
gocui: code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/structs.go')
-rw-r--r--toolkit/gocui/structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go
index f7f8c15..a934946 100644
--- a/toolkit/gocui/structs.go
+++ b/toolkit/gocui/structs.go
@@ -24,6 +24,7 @@ type config struct {
baseGui *gocui.Gui // the main gocui handle
rootNode *cuiWidget // the base of the binary tree. it should have id == 0
ctrlDown *cuiWidget // shown if you click the mouse when the ctrl key is pressed
+ current *cuiWidget // this is the current tab or window to show
// this is the channel we send user events like
// mouse clicks or keyboard events back to the program