mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
Fixed conversion error between string and enum
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user