macos: show debug build warning even with releasesafe for now

This commit is contained in:
Mitchell Hashimoto
2024-08-31 21:37:09 -07:00
parent 9043ca470b
commit 6cf61f4d7b

View File

@ -80,7 +80,7 @@ struct TerminalView<ViewModel: TerminalViewModel>: View {
VStack(spacing: 0) { VStack(spacing: 0) {
// If we're running in debug mode we show a warning so that users // If we're running in debug mode we show a warning so that users
// know that performance will be degraded. // know that performance will be degraded.
if (Ghostty.info.mode == GHOSTTY_BUILD_MODE_DEBUG) { if (Ghostty.info.mode == GHOSTTY_BUILD_MODE_DEBUG || Ghostty.info.mode == GHOSTTY_BUILD_MODE_RELEASE_SAFE) {
DebugBuildWarningView() DebugBuildWarningView()
} }