From 2ab3405fe114012cd32e7652f9fc7ac3a8154b8b Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Thu, 8 Oct 2026 11:25:39 -0700 Subject: [PATCH] Slab: let Codex terminals follow live appearance changes --- slab/menubar-swift/Sources/SlabMenubar/AppDelegate.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/slab/menubar-swift/Sources/SlabMenubar/AppDelegate.swift b/slab/menubar-swift/Sources/SlabMenubar/AppDelegate.swift index 31efe6c416..2765bb0b6e 100644 --- a/slab/menubar-swift/Sources/SlabMenubar/AppDelegate.swift +++ b/slab/menubar-swift/Sources/SlabMenubar/AppDelegate.swift @@ -2787,9 +2787,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate { } for s in state.claudeSessions where !s.tty.isEmpty { seen.insert(s.sessionId) - // Codex caches its terminal background at startup. Keep that - // appearance for its lifetime; status hues still change normally. - let sessionDark = s.agentType == "codex" ? (s.terminalDark ?? darkAppearance) : darkAppearance + // All agent pages follow the current seat appearance. The startup + // probe only prepares Codex's initial colors; it must not pin a + // live terminal after the user switches Light/Dark. + let sessionDark = darkAppearance // Pulse only the attention states — every other state holds steady // so working/blank/stale sessions don't churn osascript on the // 0.6 s blink tick. -- 2.51.2