quiet output

This commit is contained in:
Jeff Carr 2025-02-06 23:35:15 -06:00
parent 37723c2b9a
commit 7e47ca9843
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ import (
)
/*
// this didn't work. panic()
func (tk *guiWidget) DeleteNode() {
p := tk.parent
for i, child := range p.children {

View File

@ -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
}

View File

@ -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
}