macos: focus shenangians

pull/9945/head
Mitchell Hashimoto 2025-12-17 10:13:53 -08:00
parent e1356538ac
commit 829dd1b9b2
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 0 deletions

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.