diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 03:21:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 03:21:48 -0600 |
| commit | 5bac0308e55d53e5d1bf0177a1b13751c170598d (patch) | |
| tree | de9b66868863fd048ef822788f3cc58f74794034 /init.go | |
| parent | 8d8fc22745e8e5497e3db0a3389c17c3030a230f (diff) | |
window close works
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,9 @@ func init() { // init the config struct default values Set(&me, "default") + // todo: some early output still goes to the /tmp/ file + //time.Sleep(200 * time.Millisecond) + log.CaptureMode(me.stdout) // initial stdout window settings me.stdout.w = 180 @@ -151,6 +154,7 @@ func mainGogui() { var err error + // todo: make this a tmp file that goes away me.outf, err = os.OpenFile("/tmp/captureMode.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666) if err != nil { log.Info("error opening file:", err) |
