summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/init.go b/init.go
index 8e7d265..8eba6c6 100644
--- a/init.go
+++ b/init.go
@@ -9,7 +9,6 @@ package main
import (
"errors"
- "fmt"
"os"
"runtime"
"runtime/debug"
@@ -56,8 +55,8 @@ func init() {
me.clock.wId = -5
Set(&me.dropdown, "default")
- s := fmt.Sprintln("fake default check =", me.FakeW, "dropdown.Id", me.dropdown.Id)
- me.stdout.Write([]byte(s))
+ // s := fmt.Sprintln("fake default check =", me.FakeW, "dropdown.Id", me.dropdown.Id)
+ // me.stdout.Write([]byte(s))
me.mouse.mouseUp = true
me.mouse.clicktime = time.Millisecond * 200
@@ -71,9 +70,9 @@ func init() {
if val, err := me.myTree.ConfigFind("stdout"); err == nil {
if val == "true" {
me.stdout.startOnscreen = true
- me.stdout.Write([]byte("starting with stdout onscreen\n"))
+ // me.stdout.Write([]byte("starting with stdout onscreen\n"))
} else {
- me.stdout.Write([]byte("starting with stdout offscreen\n"))
+ // me.stdout.Write([]byte("starting with stdout offscreen\n"))
}
}
if val, err := me.myTree.ConfigFind("dark"); err == nil {
@@ -218,7 +217,7 @@ func gocuiMain() {
// registered event handlers still have the events sent to gocuiEvent() above
registerHandlers(g)
- me.stdout.Write([]byte("begin gogui.MainLoop()\n"))
+ // me.stdout.Write([]byte("begin gogui.MainLoop()\n"))
if err := g.MainLoop(); err != nil && !errors.Is(err, gocui.ErrQuit) {
log.Log(NOW, "g.MainLoop() panic err =", err)
// normally panic here
@@ -292,7 +291,7 @@ func refreshGocui() {
// set the widget start width & height
func newWindowTrigger() {
- log.Log(NOW, "newWindowTriggerl() START")
+ // log.Log(NOW, "newWindowTriggerl() START")
for {
// log.Log(NOW, "GO plugin toolkit made a new window")
select {