From b010875176b0c121c4edd3ac74d5d8dc76e7cb4b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Oct 2023 14:59:19 -0700 Subject: [PATCH] macos: do not need base config --- macos/Sources/Features/Terminal/TerminalController.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/macos/Sources/Features/Terminal/TerminalController.swift b/macos/Sources/Features/Terminal/TerminalController.swift index d6d5fd6ac..376e05276 100644 --- a/macos/Sources/Features/Terminal/TerminalController.swift +++ b/macos/Sources/Features/Terminal/TerminalController.swift @@ -9,9 +9,6 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele /// The app instance that this terminal view will represent. let ghostty: Ghostty.AppState - /// The base configuration for the new window - let baseConfig: Ghostty.SurfaceConfiguration? - /// The currently focused surface. var focusedSurface: Ghostty.SurfaceView? = nil @@ -39,7 +36,6 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele init(_ ghostty: Ghostty.AppState, withBaseConfig base: Ghostty.SurfaceConfiguration? = nil) { self.ghostty = ghostty - self.baseConfig = base super.init(window: nil) // Initialize our initial surface.