diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 02:31:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 02:31:12 -0600 |
| commit | da54c0f039fe35aef01dabeaf6267fd4e3ba377d (patch) | |
| tree | f7a55f1a1d21badc464645f3813e729c14bc985c /init.go | |
| parent | 6d1dfed3db9c08b85fd40c1592edf3c730b5b348 (diff) | |
always write to /tmp/ also
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 33 |
1 files changed, 9 insertions, 24 deletions
@@ -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() { |
