macos: custom tab title shows bell if active (#10211)

Fixes #10210
This commit is contained in:
Mitchell Hashimoto
2026-01-07 13:37:32 -08:00
committed by GitHub

View File

@@ -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?) {