macos: set initial terminal dimensions

This commit is contained in:
Mitchell Hashimoto
2024-09-28 15:08:14 -07:00
parent 1977e220f5
commit e3b340c6d3
3 changed files with 20 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ class SlideTerminalController: BaseTerminalController {
// make this restorable, but it isn't currently implemented.
window.isRestorable = false
// Setup our initial size based on our configured position
position.setLoaded(window)
// Setup our content
window.contentView = NSHostingView(rootView: TerminalView(
ghostty: self.ghostty,