diff options
| author | Jeff Carr <[email protected]> | 2023-12-16 06:57:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-16 06:57:39 -0600 |
| commit | 87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (patch) | |
| tree | fd3ee29d828e9e69175a6ca04fec6ae0fe60fcc0 /toolkit/nocui/stdin.go | |
| parent | dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf (diff) | |
correct line hight
dump non-working size rectangle code
somehow works better
better dropdown menu debugging
minor fixes to common.go
more common code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/nocui/stdin.go')
| -rw-r--r-- | toolkit/nocui/stdin.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/nocui/stdin.go b/toolkit/nocui/stdin.go index 86ec664..0738d00 100644 --- a/toolkit/nocui/stdin.go +++ b/toolkit/nocui/stdin.go @@ -18,10 +18,10 @@ func simpleStdin() { switch s { case "l": log(true, "list widgets") - rootNode.listWidgets() + me.rootNode.listWidgets() case "b": log(true, "show buttons") - rootNode.showButtons() + me.rootNode.showButtons() case "d": var a toolkit.Action a.ActionType = toolkit.EnableDebug @@ -35,7 +35,7 @@ func simpleStdin() { default: i, _ := strconv.Atoi(s) log(true, "got input:", i) - n := rootNode.findWidgetId(i) + n := me.rootNode.findWidgetId(i) if (n != nil) { n.dumpWidget("found node") n.doUserEvent() |
