diff options
| author | Jeff Carr <[email protected]> | 2025-02-08 05:16:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-08 05:16:05 -0600 |
| commit | 8185d8bc1a916980b4c1a1072e1ef78804a0f484 (patch) | |
| tree | 630b0ebc4e073b09490b6060b57c060a6d34d25c | |
| parent | 481fa1121153eea80ccdddadae34afac20cc5655 (diff) | |
macos iterm2 only seems to work with dark mode
| -rw-r--r-- | init.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() |
