From b9868cc873501e9e73c76b76a99d7b72cadab9b0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Jan 2024 13:24:20 -0600 Subject: nocui compiles against 'go.wit.com/gui/widget' Signed-off-by: Jeff Carr --- nocui/stdin.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nocui/stdin.go') diff --git a/nocui/stdin.go b/nocui/stdin.go index 2c16e24..0cf2783 100644 --- a/nocui/stdin.go +++ b/nocui/stdin.go @@ -7,7 +7,7 @@ import ( "strings" "strconv" - "go.wit.com/gui/toolkits" + "go.wit.com/gui/widget" ) func simpleStdin() { @@ -23,8 +23,8 @@ func simpleStdin() { log(true, "show buttons") me.rootNode.showButtons() case "d": - var a toolkit.Action - a.ActionType = toolkit.EnableDebug + var a widget.Action + a.ActionType = widget.EnableDebug callback <- a case "": fmt.Println("") @@ -45,7 +45,7 @@ func simpleStdin() { } func (n *node) showButtons() { - if n.WidgetType == toolkit.Button { + if n.WidgetType == widget.Button { n.dumpWidget("Button:") } -- cgit v1.2.3