From 0e0787c0620c0dca59378d1e3b355c60a1a82de1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Apr 2023 14:31:00 -0500 Subject: gocui: smarter debugging Signed-off-by: Jeff Carr --- toolkit/gocui/debug.go | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'toolkit/gocui/debug.go') diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go index e569872..9b57b08 100644 --- a/toolkit/gocui/debug.go +++ b/toolkit/gocui/debug.go @@ -2,27 +2,8 @@ package main import ( "fmt" - - "git.wit.org/wit/gui/toolkit" -// "github.com/awesome-gocui/gocui" ) -// var debugAction bool = false - -func actionDump(b bool, a *toolkit.Action) { - if (a == nil) { - log(b, "action = nil") - return - } - - log(b, "a.Name =", a.Name) - log(b, "a.Text =", a.Text) - log(b, "a.WidgetId =", a.WidgetId) - log(b, "a.ParentId =", a.ParentId) - log(b, "a.B =", a.B) - log(b, "a.S =", a.S) -} - func (w *cuiWidget) dumpTree(draw bool) { if (w == nil) { return -- cgit v1.2.3