summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/init.go b/init.go
index f373fa9..00fa42f 100644
--- a/init.go
+++ b/init.go
@@ -26,6 +26,27 @@ var BUILDTIME string
var PLUGIN string = "gocui"
+func toolkitInit() {
+ log.Info("gocui toolkitInit()")
+ if me.baseGui == nil {
+ log.Info("gocui baseGui is still nil")
+ } else {
+ me.baseGui.Update(testRefresh)
+ }
+ /*
+ 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)
+}
+
func toolkitClose() {
me.baseGui.Close()
}