diff --git a/init.go b/init.go index f599a8d..a53076f 100644 --- a/init.go +++ b/init.go @@ -10,6 +10,7 @@ package main import ( "errors" "os" + "runtime" "runtime/debug" "time" @@ -49,6 +50,11 @@ func init() { me.textbox.wId = -55 me.stdout.wId = -4 + // macos iterm2 really only works with dark mode right now + if runtime.GOOS == "macos" { + me.dark = true + } + // Set(&me, "dense") me.myTree = tree.New()