macos: do not need base config

This commit is contained in:
Mitchell Hashimoto
2023-10-30 14:59:19 -07:00
parent 7fe6f15d2d
commit b010875176

View File

@ -9,9 +9,6 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele
/// The app instance that this terminal view will represent. /// The app instance that this terminal view will represent.
let ghostty: Ghostty.AppState let ghostty: Ghostty.AppState
/// The base configuration for the new window
let baseConfig: Ghostty.SurfaceConfiguration?
/// The currently focused surface. /// The currently focused surface.
var focusedSurface: Ghostty.SurfaceView? = nil var focusedSurface: Ghostty.SurfaceView? = nil
@ -39,7 +36,6 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele
init(_ ghostty: Ghostty.AppState, withBaseConfig base: Ghostty.SurfaceConfiguration? = nil) { init(_ ghostty: Ghostty.AppState, withBaseConfig base: Ghostty.SurfaceConfiguration? = nil) {
self.ghostty = ghostty self.ghostty = ghostty
self.baseConfig = base
super.init(window: nil) super.init(window: nil)
// Initialize our initial surface. // Initialize our initial surface.