summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 14:22:33 -0600
committerJeff Carr <[email protected]>2025-02-13 14:22:33 -0600
commitc215e3c2c4aaa8fe1b97d9ba4dd8c4a748f4f8c2 (patch)
treebbc8d7667682c61d7cf3e3db38b06645e102fad9 /init.go
parentc5472a42a24ff2ec0dce44c6ea275cd2670f8524 (diff)
still moving everything to initPlugin()
Diffstat (limited to 'init.go')
-rw-r--r--init.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.go b/init.go
index 646aee0..92e4e3d 100644
--- a/init.go
+++ b/init.go
@@ -126,6 +126,16 @@ func initPlugin() {
// registered event handlers still have the events sent to gocuiEvent() above
registerHandlers(g)
+ time.Sleep(100 * time.Millisecond)
+
+ fmt.Fprintln(outf, "hello world", time.Since(me.starttime))
+
+ // coreStdout()
+ // createStdout(g)
+ // tell 'tree' that we are okay to start talking to
+ me.myTree.InitOK()
+ me.ok = true // this tells init() it's okay to work with gocui
+
go gocuiMain()
}