macOS: fix initial surface color scheme in quickTerminal

This commit is contained in:
Lukas
2025-12-24 19:41:05 +01:00
parent 141e64cede
commit 7ce88b6811

View File

@@ -1298,7 +1298,7 @@ extension BaseTerminalController: NSMenuItemValidation {
} else {
scheme = GHOSTTY_COLOR_SCHEME_LIGHT
}
guard scheme != appliedColorScheme else {
guard scheme != appliedColorScheme, !surfaceTree.isEmpty else {
return
}
for surfaceView in surfaceTree {