diff options
| author | Jeff Carr <[email protected]> | 2025-01-31 12:08:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-31 13:47:45 -0600 |
| commit | 5b39848b6448c8b95764bd42146e4e13b469876e (patch) | |
| tree | 358aa0540d159ea4233e82977c656afb874d1162 /junk1.go | |
| parent | bbdf7fefbd9d812b4db575a57d9d159d68921f7f (diff) | |
more helpful and easier to read debugging output
Diffstat (limited to 'junk1.go')
| -rw-r--r-- | junk1.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,7 @@ func addDebugKeys(g *gocui.Gui) { func(g *gocui.Gui, v *gocui.View) error { w, h := g.MousePosition() for _, tk := range findByXY(w, h) { - log.Log(GOCUI, fmt.Sprintf("findByXY() msgDown() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) + log.Log(GOCUI, fmt.Sprintf("findByXY() msgDown() %s wId=%d at (%d,%d) %s", tk.WidgetType, tk.node.WidgetId, w, h, tk.node.String())) } return nil }) @@ -152,7 +152,7 @@ func addDebugKeys(g *gocui.Gui) { g.SetKeybinding("", 'M', gocui.ModNone, func(g *gocui.Gui, v *gocui.View) error { w := me.treeRoot.TK.(*guiWidget) - w.dumpTree("M") + w.dumpTree("MM") return nil }) |
