more debugging

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-14 03:58:18 -06:00
parent 2461df0153
commit aae13f2b57
1 changed files with 2 additions and 7 deletions

View File

@ -36,13 +36,8 @@ func gocuiEvent(g *gocui.Gui) error {
// setOutput(me.logStdout) // setOutput(me.logStdout)
// me.logStdout.Write("test out") // me.logStdout.Write("test out")
w := me.logStdout.TK.(*guiWidget) w := me.logStdout.TK.(*guiWidget)
msg := fmt.Sprintf("test out %d\n", ecount) msg := fmt.Sprintf("test out gocuiEvent() %d\n", ecount)
msg += fmt.Sprintf("test out %d\n", ecount) w.Write([]byte(msg))
msg += fmt.Sprintf("test out %d\n", ecount)
w.Write([]byte(msg + msg + msg))
w.Write([]byte(msg + msg + msg))
w.Write([]byte(msg + msg + msg))
w.Write([]byte(msg + msg + msg))
// log.CaptureMode(w) // log.CaptureMode(w)
log.Log(NOW, "logStdout test out") log.Log(NOW, "logStdout test out")
} }