From 829dd1b9b23683e5e6bd583b7d1724d1fa69de52 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 17 Dec 2025 10:13:53 -0800 Subject: [PATCH] macos: focus shenangians --- macos/Sources/Features/Terminal/BaseTerminalController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/macos/Sources/Features/Terminal/BaseTerminalController.swift b/macos/Sources/Features/Terminal/BaseTerminalController.swift index 5129351a1..d79c89d2d 100644 --- a/macos/Sources/Features/Terminal/BaseTerminalController.swift +++ b/macos/Sources/Features/Terminal/BaseTerminalController.swift @@ -714,6 +714,7 @@ class BaseTerminalController: NSWindowController, // We use a small delay to ensure this runs after any UI cleanup // (e.g., command palette restoring focus to its original surface). + Ghostty.moveFocus(to: target) Ghostty.moveFocus(to: target, delay: 0.1) // Show a brief highlight to help the user locate the presented terminal.