Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Escape in another app never hides a pending approval

Claude6012900b1165
diff --git a/NotchBuddy/Sources/App/IslandWindowController.swift b/NotchBuddy/Sources/App/IslandWindowController.swift
index fd5ca236..cabf78f1 100644
--- a/NotchBuddy/Sources/App/IslandWindowController.swift
+++ b/NotchBuddy/Sources/App/IslandWindowController.swift
@@ -583,9 +583,10 @@ final class IslandWindowController: NSWindowController {
Task { @MainActor in
guard let self = self else { return }
if event.keyCode == 53 { // Escape
- let canCollapse = !self.state.isPinned || self.state.pendingApproval != nil
- if self.state.mode == .expanded && canCollapse {
- self.collapse(allowPendingApproval: true)
+ // Escape typed in another app (Claude Code's own interrupt, an editor…)
+ // never folds a pending approval away: only Escape in the notch does.
+ if self.state.mode == .expanded && !self.state.isPinned {
+ self.collapse()
}
}
}