fix: rename tab title popup focus

pull/7944/head
William Walker 2025-07-14 16:52:13 -04:00
parent c75c4a9685
commit 7962651dd8
No known key found for this signature in database
GPG Key ID: 740BDFA81A090154
1 changed files with 4 additions and 1 deletions

View File

@ -480,7 +480,10 @@ extension Ghostty {
// Add buttons
alert.addButton(withTitle: "OK")
alert.addButton(withTitle: "Cancel")
// Make the text field the first responder so it gets focus
alert.window.initialFirstResponder = textField
let response = alert.runModal()
// Check if the user clicked "OK"