macos: set default window size on macOS 13+

This commit is contained in:
Mitchell Hashimoto
2023-03-15 15:03:45 -07:00
parent bcbf85b35f
commit a6b43fa694
3 changed files with 32 additions and 1 deletions

View File

@@ -27,7 +27,9 @@ struct GhosttyApp: App {
Ghostty.TerminalSplit(onClose: Self.closeWindow)
.ghosttyApp(ghostty.app!)
}
}.commands {
}
.backport.defaultSize(width: 800, height: 600)
.commands {
CommandGroup(after: .newItem) {
Button("New Tab", action: Self.newTab).keyboardShortcut("t", modifiers: [.command])
Divider()