From bf60121b6515681ac505e80cb6824ba6bd978c29 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Apr 2023 18:00:18 -0500 Subject: gocui: callbacks work via a channel Signed-off-by: Jeff Carr --- structs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'structs.go') 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 -- cgit v1.2.3