macos: can always set base config on new tab

This commit is contained in:
Mitchell Hashimoto
2023-08-18 09:21:47 -07:00
parent 5eb902592c
commit a18503fc01

View File

@ -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,