macos iterm2 only seems to work with dark mode

This commit is contained in:
Jeff Carr 2025-02-08 05:16:05 -06:00
parent 481fa11211
commit 8185d8bc1a
1 changed files with 6 additions and 0 deletions

View File

@ -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()