From 5a7fdf735ed97b2448d6f7f7f2eceb1684e316d3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 7 Jan 2026 13:32:54 -0800 Subject: [PATCH] macos: custom tab title shows bell if active Fixes #10210 --- .../Features/Terminal/BaseTerminalController.swift | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/macos/Sources/Features/Terminal/BaseTerminalController.swift b/macos/Sources/Features/Terminal/BaseTerminalController.swift index 88d8e39d8..b739e9ed1 100644 --- a/macos/Sources/Features/Terminal/BaseTerminalController.swift +++ b/macos/Sources/Features/Terminal/BaseTerminalController.swift @@ -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?) {