mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
Merge pull request #168 from mitchellh/mrn/quit-dialog-return-simple
macOS: change quit dialog to handle return by removing role
This commit is contained in:
@ -38,7 +38,7 @@ struct ContentView: View {
|
||||
.confirmationDialog(
|
||||
"Quit Ghostty?",
|
||||
isPresented: confirmQuitting) {
|
||||
Button("Close Ghostty", role: .destructive) {
|
||||
Button("Close Ghostty") {
|
||||
NSApplication.shared.reply(toApplicationShouldTerminate: true)
|
||||
}
|
||||
.keyboardShortcut(.defaultAction)
|
||||
|
Reference in New Issue
Block a user