diff options
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) |
