mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
fix: rename tab title popup focus
This commit is contained in:
@ -480,7 +480,10 @@ extension Ghostty {
|
|||||||
// Add buttons
|
// Add buttons
|
||||||
alert.addButton(withTitle: "OK")
|
alert.addButton(withTitle: "OK")
|
||||||
alert.addButton(withTitle: "Cancel")
|
alert.addButton(withTitle: "Cancel")
|
||||||
|
|
||||||
|
// Make the text field the first responder so it gets focus
|
||||||
|
alert.window.initialFirstResponder = textField
|
||||||
|
|
||||||
let response = alert.runModal()
|
let response = alert.runModal()
|
||||||
|
|
||||||
// Check if the user clicked "OK"
|
// Check if the user clicked "OK"
|
||||||
|
Reference in New Issue
Block a user