From dc598a3dd7653e183522d45a504eb2a9097c3c42 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 22 Feb 2023 14:41:12 -0800 Subject: [PATCH] macos: update minimum deployment target to macOS 12 --- macos/Ghostty.xcodeproj/project.pbxproj | 2 ++ macos/Sources/TerminalView.swift | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macos/Ghostty.xcodeproj/project.pbxproj b/macos/Ghostty.xcodeproj/project.pbxproj index eea549515..3ec37dec1 100644 --- a/macos/Ghostty.xcodeproj/project.pbxproj +++ b/macos/Ghostty.xcodeproj/project.pbxproj @@ -311,6 +311,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); + MACOSX_DEPLOYMENT_TARGET = 12.0; MARKETING_VERSION = 0.1; "OTHER_LDFLAGS[arch=*]" = "-lstdc++"; PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty; @@ -344,6 +345,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); + MACOSX_DEPLOYMENT_TARGET = 12.0; MARKETING_VERSION = 0.1; "OTHER_LDFLAGS[arch=*]" = "-lstdc++"; PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty; diff --git a/macos/Sources/TerminalView.swift b/macos/Sources/TerminalView.swift index 32f8a0dba..fee8920b0 100644 --- a/macos/Sources/TerminalView.swift +++ b/macos/Sources/TerminalView.swift @@ -5,7 +5,6 @@ struct TerminalView: View { let app: ghostty_app_t @FocusState private var surfaceFocus: Bool @Environment(\.isKeyWindow) private var isKeyWindow: Bool - @Environment(\.openWindow) private var openWindow @State private var title: String = "Ghostty" // This is true if the terminal is considered "focused". The terminal is focused if