From 6c37fe2c264befe695d1db8feb908c56cfdc5b39 Mon Sep 17 00:00:00 2001 From: johnseth97 <17620345+johnseth97@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:06:18 -0400 Subject: [PATCH] Fixed conversion error between string and enum --- macos/Sources/Features/Terminal/BaseTerminalController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Sources/Features/Terminal/BaseTerminalController.swift b/macos/Sources/Features/Terminal/BaseTerminalController.swift index 5d0d11fef..bdbd9c989 100644 --- a/macos/Sources/Features/Terminal/BaseTerminalController.swift +++ b/macos/Sources/Features/Terminal/BaseTerminalController.swift @@ -243,7 +243,7 @@ class BaseTerminalController: NSWindowController, guard let window else { return } // Get the current working directory from the focused surface - if ghostty.config.macosTitlebarProxyIcon == "visible", let pwd = focusedSurface?.pwd { + if ghostty.config.macosTitlebarProxyIcon == .visible, let pwd = focusedSurface?.pwd { // Set the window's representedURL to the current working directory window.representedURL = URL(fileURLWithPath: pwd) } else {