mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
@ -69,7 +69,7 @@ struct TerminalView<ViewModel: TerminalViewModel>: View {
|
|||||||
|
|
||||||
// The pwd of the focused surface as a URL
|
// The pwd of the focused surface as a URL
|
||||||
private var pwdURL: URL? {
|
private var pwdURL: URL? {
|
||||||
guard let surfacePwd else { return nil }
|
guard let surfacePwd, surfacePwd != "" else { return nil }
|
||||||
return URL(fileURLWithPath: surfacePwd)
|
return URL(fileURLWithPath: surfacePwd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user