macos: custom tab title shows bell if active

Fixes #10210
pull/10211/head
Mitchell Hashimoto 2026-01-07 13:32:54 -08:00
parent e9ea94d364
commit 5a7fdf735e
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 9 additions and 1 deletions

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