mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: can always set base config on new tab
This commit is contained in:
@ -267,9 +267,7 @@ extension Ghostty {
|
|||||||
guard let surface = self.surfaceUserdata(from: userdata) else { return }
|
guard let surface = self.surfaceUserdata(from: userdata) else { return }
|
||||||
|
|
||||||
var userInfo: [AnyHashable : Any] = [:];
|
var userInfo: [AnyHashable : Any] = [:];
|
||||||
if config.font_size != 0 {
|
userInfo[Notification.NewTabKey] = config;
|
||||||
userInfo[Notification.NewTabKey] = config;
|
|
||||||
}
|
|
||||||
|
|
||||||
NotificationCenter.default.post(
|
NotificationCenter.default.post(
|
||||||
name: Notification.ghosttyNewTab,
|
name: Notification.ghosttyNewTab,
|
||||||
|
Reference in New Issue
Block a user