macos: custom tab title shows bell if active

Fixes #10210
This commit is contained in:
Mitchell Hashimoto
2026-01-07 13:32:54 -08:00
parent e9ea94d364
commit 5a7fdf735e

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