diff --git a/macos/Sources/Features/Terminal/TerminalWindow.swift b/macos/Sources/Features/Terminal/TerminalWindow.swift index 339a5fde0..dcc6bfaf5 100644 --- a/macos/Sources/Features/Terminal/TerminalWindow.swift +++ b/macos/Sources/Features/Terminal/TerminalWindow.swift @@ -52,11 +52,13 @@ class TerminalWindow: NSWindow { // Used to set the titlebar font. var titlebarFont: NSFont? { didSet { - titlebarTextField?.font = titlebarFont + let font = titlebarFont ?? NSFont.titleBarFont(ofSize: NSFont.systemFontSize) + + titlebarTextField?.font = font tab.attributedTitle = attributedTitle if let toolbar = toolbar as? TerminalToolbar { - toolbar.titleFont = titlebarFont + toolbar.titleFont = font } } }