summaryrefslogtreecommitdiff
path: root/gocui/tab.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 20:52:10 -0600
committerJeff Carr <[email protected]>2024-01-08 20:52:10 -0600
commit3c2da3f096a5e8aeaa657deb2dc047cc23118c99 (patch)
tree9be876900a02aebed4540f5453759ea1f1d5c7ce /gocui/tab.go
parent2a9724d7a89733db8c41571a8b5d9d0e1f0d76b3 (diff)
use "go.wit.com/log"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/tab.go')
-rw-r--r--gocui/tab.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/gocui/tab.go b/gocui/tab.go
index 382438c..f3a6ef2 100644
--- a/gocui/tab.go
+++ b/gocui/tab.go
@@ -4,6 +4,8 @@ package main
import (
"strings"
+
+ "go.wit.com/log"
"go.wit.com/gui/widget"
)
@@ -76,7 +78,7 @@ func redoWindows(nextW int, nextH int) {
sizeW := w.Width() + me.WindowPadW
sizeH := w.Height()
nextW += sizeW
- log(logNow, "redoWindows() start nextW,H =", nextW, nextH, "gocuiSize.W,H =", sizeW, sizeH, n.Name)
+ log.Log(NOW, "redoWindows() start nextW,H =", nextW, nextH, "gocuiSize.W,H =", sizeW, sizeH, n.Name)
if n.hasTabs {
n.redoTabs(me.TabW, me.TabH)
@@ -103,7 +105,7 @@ func (p *node) redoTabs(nextW int, nextH int) {
sizeW := w.Width() + me.TabPadW
sizeH := w.Height()
- log(logNow, "redoTabs() start nextW,H =", nextW, nextH, "gocuiSize.W,H =", sizeW, sizeH, n.Name)
+ log.Log(NOW, "redoTabs() start nextW,H =", nextW, nextH, "gocuiSize.W,H =", sizeW, sizeH, n.Name)
nextW += sizeW
}
}