summaryrefslogtreecommitdiff
path: root/spinner.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-03 16:32:01 -0500
committerJeff Carr <[email protected]>2023-04-03 16:32:01 -0500
commitefe4d11576c0dbb0b1e4189274f9908c3eb7e7c3 (patch)
tree1c83b7f1d3312ea97577c77f9f2b2bd5a4a9e072 /spinner.go
parentc14ba9d6da0a82d6cd39645764a8f9b1a88af5d4 (diff)
gocui: more size debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'spinner.go')
-rw-r--r--spinner.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/spinner.go b/spinner.go
index 0f48e8f..4b0b3aa 100644
--- a/spinner.go
+++ b/spinner.go
@@ -13,9 +13,8 @@ func (n *Node) NewSpinner(name string, x int, y int) *Node {
a.ActionType = toolkit.Add
a.X = x
a.Y = y
- // a.Widget = &newNode.widget
- // a.Where = &n.widget
- // action(&a)
+ a.Name = name
+ a.Text = name
newaction(&a, newNode, n)
return newNode