diff options
| author | Jeff Carr <[email protected]> | 2023-04-08 14:31:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-08 14:31:00 -0500 |
| commit | 0e0787c0620c0dca59378d1e3b355c60a1a82de1 (patch) | |
| tree | c376e21df8cb3a1e8d9cb6de0edc0aa8635263d9 /toolkit/gocui/debug.go | |
| parent | 65148155a12151fdeb2ffebf03da2c3b836780a8 (diff) | |
gocui: smarter debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/debug.go')
| -rw-r--r-- | toolkit/gocui/debug.go | 19 |
1 files changed, 0 insertions, 19 deletions
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 |
