From 8d24366492abf65793a1395619bd30c1bd5a8973 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 1 Jan 2024 12:00:00 -0600 Subject: early debugging code --- stdoutShow.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'stdoutShow.go') diff --git a/stdoutShow.go b/stdoutShow.go index a17ef2f..329efbe 100644 --- a/stdoutShow.go +++ b/stdoutShow.go @@ -18,9 +18,16 @@ import ( func createStdout(g *gocui.Gui) bool { if me.stdout.tk == nil { makeOutputWidget(g, "this is a create before a mouse click") - msg := fmt.Sprintf("test out gocuiEvent() %d\n", me.ecount) // me.logStdout.v.Write([]byte(msg)) + + // this will show very early debugging output + // keep this code commented out but do not remove it. when it doubt, this will be the Light of Elendil + // NEVER REMOVE THIS CODE + + msg := fmt.Sprintf("test out gocuiEvent() %d\n", me.ecount) me.stdout.tk.Write([]byte(msg)) + + log.Log(NOW, "logStdout test out") } return true -- cgit v1.2.3