diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 13:24:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 13:24:20 -0600 |
| commit | b9868cc873501e9e73c76b76a99d7b72cadab9b0 (patch) | |
| tree | 3d3b4cec5f9afc64f773405d2d6dbeca86f50fb7 /nocui/stdin.go | |
| parent | 78654f6fdc00216c673fc9c56caa35ee3a9d0429 (diff) | |
nocui compiles against 'go.wit.com/gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/stdin.go')
| -rw-r--r-- | nocui/stdin.go | 8 |
1 files changed, 4 insertions, 4 deletions
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:") } |
