summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 18:00:18 -0500
committerJeff Carr <[email protected]>2023-04-06 18:00:18 -0500
commitbf60121b6515681ac505e80cb6824ba6bd978c29 (patch)
treecdb87a9169185da1c33827702ef1b405c3d1ed00 /structs.go
parent70f8797122741ef61951d3400317173a1d9974da (diff)
gocui: callbacks work via a channel
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 94382d7..eec3ccb 100644
--- a/structs.go
+++ b/structs.go
@@ -51,6 +51,8 @@ type GuiConfig struct {
ActionCh1 chan int
ActionCh2 chan int
+
+ guiChan chan toolkit.Action
}
// The Node is a binary tree. This is how all GUI elements are stored