summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 23:35:15 -0600
committerJeff Carr <[email protected]>2025-02-06 23:35:15 -0600
commit7e47ca98435ed6315f2f0c15d41a1c817576f0f3 (patch)
tree481a590dc6de17393f677ada30d6b512bb23f59c
parent37723c2b9a91ad001828f492970b94ce91ff6d4c (diff)
quiet output
-rw-r--r--eventMouseClick.go1
-rw-r--r--eventMouseMove.go2
-rw-r--r--window.go2
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
}