From 8ae3b987acf65f6a1f8ca01060ebb0eeb42aae4d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Jan 2024 13:35:01 -0600 Subject: everything against 'gui/widget' Signed-off-by: Jeff Carr --- gocui/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gocui/main.go') diff --git a/gocui/main.go b/gocui/main.go index f8270d5..5157ecd 100644 --- a/gocui/main.go +++ b/gocui/main.go @@ -6,7 +6,7 @@ package main import ( "os" - "go.wit.com/gui/toolkits" + "go.wit.com/gui/widget" ) // sets defaults and establishes communication @@ -17,7 +17,7 @@ func init() { // init the config struct default values Set(&me, "default") - pluginChan = make(chan toolkit.Action) + pluginChan = make(chan widget.Action) log(logNow, "Init() start pluginChan") go catchActionChannel() @@ -71,8 +71,8 @@ func standardExit() { } func sendBackQuit() { // send 'Quit' back to the program (?) - var a toolkit.Action - a.ActionType = toolkit.UserQuit + var a widget.Action + a.ActionType = widget.UserQuit callback <- a } -- cgit v1.2.3