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/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gocui/plugin.go') diff --git a/gocui/plugin.go b/gocui/plugin.go index f1834a1..3a122e3 100644 --- a/gocui/plugin.go +++ b/gocui/plugin.go @@ -50,7 +50,7 @@ func action(a *widget.Action) { n.AddText(widget.GetString(a.Value)) case widget.Move: log.Log(NOW, "attempt to move() =", a.ActionType, a.WidgetType, a.ProgName) - case widget.CloseToolkit: + case widget.ToolkitClose: log.Log(NOW, "attempting to close the plugin and release stdout and stderr") standardExit() case widget.Enable: -- cgit v1.2.3