summaryrefslogtreecommitdiff
path: root/gocui/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 21:31:49 -0600
committerJeff Carr <[email protected]>2024-01-17 21:31:49 -0600
commit841e6252c95244f0ee7faf2c01d33f69a8ab483a (patch)
treeef400228622b87611168db2227269ba7fd56625d /gocui/widget.go
parentba95c13799740b5f55541fc5e8ab9f1d34f7e421 (diff)
common tree package for toolkitsv0.12.4
This update provides *lots* of toolkit updates. This will allow the next step of debugging the gocui toolkit to make it work again. There are new common routines for handling the plugin channel communication Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/widget.go')
-rw-r--r--gocui/widget.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/gocui/widget.go b/gocui/widget.go
index fba66dd..e739993 100644
--- a/gocui/widget.go
+++ b/gocui/widget.go
@@ -1,8 +1,6 @@
package main
import (
- "strconv"
-
"go.wit.com/log"
"go.wit.com/gui/widget"
)
@@ -15,7 +13,7 @@ func initWidget(n *node) *guiWidget {
w.frame = true
// set the name used by gocui to the id
- w.cuiName = strconv.Itoa(n.WidgetId)
+ w.cuiName = string(n.WidgetId)
if n.WidgetType == widget.Root {
log.Log(INFO, "setupWidget() FOUND ROOT w.id =", n.WidgetId)