diff options
| author | Jeff Carr <[email protected]> | 2025-02-13 14:11:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-13 14:11:52 -0600 |
| commit | c5472a42a24ff2ec0dce44c6ea275cd2670f8524 (patch) | |
| tree | 56cb3fbeb9b3c24b8a9736adb7386232c55d932e /structs.go | |
| parent | fa9ec36dbb05877a802ac6b5e2d358a2372f9a68 (diff) | |
finally starting to clean up the init() process
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,7 +22,8 @@ import ( "go.wit.com/toolkits/tree" ) -var initOnce sync.Once +var initOnce sync.Once // run initPlugin() only once +var outf *os.File // hacks for capturing stdout // It's probably a terrible idea to call this 'me' // 2025 note: doesn't seem terrible to call this 'me' anymore. notsure. @@ -77,8 +78,7 @@ type config struct { mouse mouse // mouse settings showDebug bool // todo: move this into config struct debug bool // todo: move this into config struct - outf *os.File // hacks for capturing stdout - + starttime time.Time // checks how long it takes on startup } // stuff controlling how the mouse works |
