macos: focus shenangians

This commit is contained in:
Mitchell Hashimoto
2025-12-17 10:13:53 -08:00
parent e1356538ac
commit 829dd1b9b2

View File

@@ -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.