summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}