summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 00:12:40 -0600
committerJeff Carr <[email protected]>2025-03-03 00:12:40 -0600
commited3789c23fa4ca64f45ed520ae342acc741bf288 (patch)
tree07dc52225aed95e5695db2cfa433f45d502237ab /init.go
parent6f739933b7e7f9194089bee64cef945d9ba73534 (diff)
jesus. I never even made a ToolkitInit()
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()
}