From 841e6252c95244f0ee7faf2c01d33f69a8ab483a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 17 Jan 2024 21:31:49 -0600 Subject: common tree package for toolkits 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 --- gocui/view.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gocui/view.go') diff --git a/gocui/view.go b/gocui/view.go index b88763c..912cf21 100644 --- a/gocui/view.go +++ b/gocui/view.go @@ -3,7 +3,6 @@ package main import ( "fmt" "errors" - "strconv" "bufio" "strings" @@ -60,7 +59,7 @@ func (n *node) showView() { if (w.cuiName == "") { log.Log(ERROR, "showView() w.cuiName was not set for widget", w) - w.cuiName = strconv.Itoa(n.WidgetId) + w.cuiName = string(n.WidgetId) } // if the gocui element doesn't exist, create it -- cgit v1.2.3