summaryrefslogtreecommitdiff
path: root/gocui/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:35:01 -0600
committerJeff Carr <[email protected]>2024-01-05 13:35:01 -0600
commit8ae3b987acf65f6a1f8ca01060ebb0eeb42aae4d (patch)
treed8dbef56aed0e8d8c4a8b2ae64ee555fd66badff /gocui/main.go
parent327e14f05154b1cfdb9af27b387cc3227cedca0d (diff)
everything against 'gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/main.go')
-rw-r--r--gocui/main.go8
1 files changed, 4 insertions, 4 deletions
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
}