summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go33
1 files changed, 9 insertions, 24 deletions
diff --git a/init.go b/init.go
index 7142abf..63bf765 100644
--- a/init.go
+++ b/init.go
@@ -40,26 +40,15 @@ func toolkitInit() {
w.dumpTree("MM")
w.dumpWindows("WW")
+ // SETUP HELP START
me.baseGui.Update(testRefresh)
log.Info("gocui toolkitInit() trying showHelp() me.ok =", me.ok)
showHelp()
- log.Info("gocui toolkitInit() trying showHelp() me.ok =", me.ok)
hideHelp()
- log.Info("gocui toolkitInit() trying showHelp() me.ok =", me.ok)
showHelp()
- /*
- if me.stdout.outputOnTop {
- me.stdout.outputOnTop = false
- setThingsOnTop()
- } else {
- me.stdout.outputOnTop = true
- setThingsOnTop()
- }
- relocateStdoutOffscreen()
- log.Info("refresh triggered")
- */
- // me.newWindowTrigger <- me.treeRoot.TK.(*guiWidget)
- // time.Sleep(1 * time.Second)
+ // SETUP HELP END
+
+ // SETUP STDOUT START
time.Sleep(300 * time.Millisecond)
log.Info("gocui toolkitInit() me.ok =", me.ok)
me.baseGui.Update(testRefresh)
@@ -68,11 +57,12 @@ func toolkitInit() {
me.stdout.init = true
relocateStdoutOffscreen()
}
-
time.Sleep(1 * time.Second)
me.stdout.outputOnTop = false
setThingsOnTop()
+ // SETUP STDOUT END
+ // PUT INIT DEBUG COOE HERE
var toggle bool
for i := 0; i < 3; i++ {
w := me.treeRoot.TK.(*guiWidget)
@@ -88,9 +78,9 @@ func toolkitInit() {
log.Info("gocui toolkitInit() put testing false stuff here")
}
}
- log.Info("gocui toolkitInit() trying showHelp() me.ok =", me.ok)
- showHelp()
+ // PUT INIT DEBUG COOE HERE END
+ // TEST TEXTBOX START
time.Sleep(1 * time.Second)
log.Info("gocui toolkitInit() me.ok =", me.ok)
me.baseGui.Update(testRefresh)
@@ -99,12 +89,7 @@ func toolkitInit() {
initTextbox()
me.textbox.tk.prepTextbox()
}
- // tk.makeWindowActive()
-
- time.Sleep(1 * time.Second)
- log.Info("gocui toolkitInit() me.ok =", me.ok)
- // me.baseGui.Close()
- // os.Exit(-1)
+ // TEST TEXTBOX END
}
func toolkitClose() {