diff options
Diffstat (limited to 'gocui/tab.go')
| -rw-r--r-- | gocui/tab.go | 6 |
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 } } |
