diff options
| author | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
| commit | 03942de00e133daf59da8ed3b6c3e71ce8afe316 (patch) | |
| tree | a5d5e4b3899631d939b90d1cfa21bc165be76695 /main.go | |
| parent | 8b5f8fe42d9b161090ff91960050565959ac65dd (diff) | |
further code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -14,23 +14,11 @@ import ( const Xaxis = 0 // stack things horizontally const Yaxis = 1 // stack things vertically -/* - // TODO: 2023/03/03 rethink how to get a plugin or figure out how - // golang packages can include a binary. Pull from /usr/go/go-gui/ ? - // may this plugin work when all other plugins fail - - // if this is in the plugin, the packages can't work with go.mod builds - # don't do this in the plugin // go:embed /usr/lib/go-gui/toolkit/gocui.so - # don't do this in the plugin var res embed.FS -*/ - func init() { log("init() has been run") Config.counter = 0 Config.prefix = "wit" - Config.Width = 640 - Config.Height = 480 // Populates the top of the binary tree Config.rootNode = addNode("guiBinaryTree") @@ -74,7 +62,7 @@ func watchCallback() { } // this maybe a good idea? // TODO: Throttle user events somehow - sleep(.1) + sleep(.01) } } } |
