summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 14:19:43 -0600
committerJeff Carr <[email protected]>2025-02-06 14:19:43 -0600
commit1918dcbbdec3da55790314cb76fd1b1741b6586f (patch)
treeba1c246e711b651aaf4665c682c2f556bd8797e2 /debug.go
parent5675307497e2f6b75251d394a7a669734f6d3941 (diff)
no output except 'mouse drag()'
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.go b/debug.go
index 47765a0..f2b2f81 100644
--- a/debug.go
+++ b/debug.go
@@ -76,13 +76,13 @@ func (tk *guiWidget) dumpWidget(s string) {
}
var end string
if tk.node.WidgetType == widget.Box {
- end = fmt.Sprintf("%5s %-8s %s", tk.cuiName, tk.node.WidgetType, tk.node.State.Direction.String())
+ end = fmt.Sprintf("%-8s %-8s %s", tk.node.WidgetType, tk.cuiName, tk.node.State.Direction.String())
} else {
curval := tk.String()
if curval == "" {
curval = tk.node.GetLabel()
}
- end = fmt.Sprintf("%5s %-8s %s", tk.cuiName, tk.node.WidgetType, tk.String())
+ end = fmt.Sprintf("%-8s %-8s %s", tk.node.WidgetType, tk.cuiName, tk.String())
}
log.Log(GOCUI, s1, s, end)
}