mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
@@ -834,7 +834,15 @@ class BaseTerminalController: NSWindowController,
|
||||
|
||||
private func applyTitleToWindow() {
|
||||
guard let window else { return }
|
||||
window.title = titleOverride ?? lastComputedTitle
|
||||
|
||||
if let titleOverride {
|
||||
window.title = computeTitle(
|
||||
title: titleOverride,
|
||||
bell: focusedSurface?.bell ?? false)
|
||||
return
|
||||
}
|
||||
|
||||
window.title = lastComputedTitle
|
||||
}
|
||||
|
||||
func pwdDidChange(to: URL?) {
|
||||
|
||||
Reference in New Issue
Block a user