From 7e47ca98435ed6315f2f0c15d41a1c817576f0f3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 23:35:15 -0600 Subject: quiet output --- eventMouseClick.go | 1 + eventMouseMove.go | 2 +- window.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eventMouseClick.go b/eventMouseClick.go index 5e21d02..57c4580 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -12,6 +12,7 @@ import ( ) /* +// this didn't work. panic() func (tk *guiWidget) DeleteNode() { p := tk.parent for i, child := range p.children { diff --git a/eventMouseMove.go b/eventMouseMove.go index 77ce7f8..e27b065 100644 --- a/eventMouseMove.go +++ b/eventMouseMove.go @@ -58,7 +58,7 @@ func mouseMove(g *gocui.Gui) { // don't move this code out of here var found bool = false if me.currentDrag != nil { - me.currentDrag.dumpWidget(fmt.Sprintf("MM (%3d,%3d)", w, h)) + // me.currentDrag.dumpWidget(fmt.Sprintf("MM (%3d,%3d)", w, h)) me.currentDrag.moveNew() return } diff --git a/window.go b/window.go index cf3499e..b368f4d 100644 --- a/window.go +++ b/window.go @@ -15,7 +15,7 @@ func (tk *guiWidget) redrawWindow(w int, h int) { if tk.node.WidgetType != widget.Window { return } - tk.dumpWidget(fmt.Sprintf("redrawWindow(%d,%d)", w, h)) + // tk.dumpWidget(fmt.Sprintf("redrawWindow(%d,%d)", w, h)) if tk.full.Height() > 40 { tk.window.dense = true } -- cgit v1.2.3