From a18503fc018d28181473b5d4abb17bab210344f0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 18 Aug 2023 09:21:47 -0700 Subject: [PATCH] macos: can always set base config on new tab --- macos/Sources/Ghostty/AppState.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macos/Sources/Ghostty/AppState.swift b/macos/Sources/Ghostty/AppState.swift index 94ba3ad11..1a0a17f4b 100644 --- a/macos/Sources/Ghostty/AppState.swift +++ b/macos/Sources/Ghostty/AppState.swift @@ -267,9 +267,7 @@ extension Ghostty { guard let surface = self.surfaceUserdata(from: userdata) else { return } var userInfo: [AnyHashable : Any] = [:]; - if config.font_size != 0 { - userInfo[Notification.NewTabKey] = config; - } + userInfo[Notification.NewTabKey] = config; NotificationCenter.default.post( name: Notification.ghosttyNewTab,