mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-18 01:36:08 +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 }
|
guard let window else { return }
|
||||||
|
|
||||||
// Get the current working directory from the focused surface
|
// 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
|
// Set the window's representedURL to the current working directory
|
||||||
window.representedURL = URL(fileURLWithPath: pwd)
|
window.representedURL = URL(fileURLWithPath: pwd)
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user