diff --git a/macos/Sources/Features/Terminal/TerminalWindow.swift b/macos/Sources/Features/Terminal/TerminalWindow.swift index 457b3bd08..f65aaceaf 100644 --- a/macos/Sources/Features/Terminal/TerminalWindow.swift +++ b/macos/Sources/Features/Terminal/TerminalWindow.swift @@ -40,6 +40,10 @@ class TerminalWindow: NSWindow { override func updateConstraintsIfNeeded() { super.updateConstraintsIfNeeded() + // For titlebar tabs, we want to hide the separator view so that we get rid + // of an aesthetically unpleasing shadow. + guard titlebarTabs else { return } + guard let titlebarContainer = contentView?.superview?.subviews.first(where: { $0.className == "NSTitlebarContainerView" }) else { return }