summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-07 15:24:59 -0600
committerJeff Carr <[email protected]>2024-02-07 15:24:59 -0600
commited5857af77edb5a8369fc0a9fb4e93c282fa5664 (patch)
tree50151af8db365084252284eea74a4434d3a2c5ef /main.go
parent3d4e297db93544fe1380178ec4cb7fc286b2dc4c (diff)
trying to debug box direction
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 7e60afd..753013d 100644
--- a/main.go
+++ b/main.go
@@ -17,6 +17,11 @@ func main() {
me = new(autoType)
me.allrepos = make(map[string]*repo)
+ if args.TmpLog {
+ // send all log() output to a file in /tmp
+ log.SetTmp()
+ }
+
me.myGui = gui.New()
me.myGui.InitEmbed(resToolkit)
// me.myGui.LoadToolkit("nocui")