From 0d01dc366d3893433991020455d1d637b327ba9d Mon Sep 17 00:00:00 2001 From: Zein Hajj-Ali Date: Sat, 28 Dec 2024 21:07:43 -0500 Subject: [PATCH] Set alpha component for fullscreen background colour --- macos/Sources/Features/Terminal/TerminalController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Sources/Features/Terminal/TerminalController.swift b/macos/Sources/Features/Terminal/TerminalController.swift index 7fd1802dc..e6f5befff 100644 --- a/macos/Sources/Features/Terminal/TerminalController.swift +++ b/macos/Sources/Features/Terminal/TerminalController.swift @@ -247,7 +247,7 @@ class TerminalController: BaseTerminalController { let backgroundColor: OSColor if let surfaceTree { if let focusedSurface, surfaceTree.doesBorderTop(view: focusedSurface) { - backgroundColor = OSColor(focusedSurface.backgroundColor ?? surfaceConfig.backgroundColor) + backgroundColor = OSColor(focusedSurface.backgroundColor ?? surfaceConfig.backgroundColor).withAlphaComponent(0.0) } else { // We don't have a focused surface or our surface doesn't border the // top. We choose to match the color of the top-left most surface.