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

@@ -23,6 +23,9 @@ class SlideTerminalWindow: NSWindow {
// and lets us render off screen.
self.level = .popUpMenu
// This plus the level above was what was needed for the animation to work,
// because it gets the window off screen properly. Plus we add some fields
// we just want the behavior of.
self.collectionBehavior = [
// We want this to be part of every space because it is a singleton.
.canJoinAllSpaces,