summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-02 13:06:30 -0600
committerJeff Carr <[email protected]>2025-02-02 15:04:47 -0600
commit517d844b3c8257dd796244e6a151deceabedab42 (patch)
tree1ebd6b05f55b13a8b716860e4593087d8ed69228 /init.go
parent4a8fb6ab224e4b4c126f72be77abb1affc85e362 (diff)
more work on the ever illusive floating stdout window
Diffstat (limited to 'init.go')
-rw-r--r--init.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.go b/init.go
index d1028d9..c1e8dc9 100644
--- a/init.go
+++ b/init.go
@@ -77,9 +77,9 @@ func standardClose() {
me.baseGui.Close()
log.Log(NOW, "standardExit() doing outf.Close()")
outf.Close()
- os.Stdin = os.Stdin
- os.Stdout = os.Stdout
- os.Stderr = os.Stderr
+ // os.Stdin = os.Stdin
+ // os.Stdout = os.Stdout
+ // os.Stderr = os.Stderr
log.Log(NOW, "standardExit() send back Quit()")
}
@@ -110,7 +110,7 @@ func mainGogui() {
outf, err = os.OpenFile("/tmp/captureMode.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
- log.Error(err, "error opening file: %v")
+ log.Info("error opening file:", err)
os.Exit(0)
}
origStdout = os.Stdout