 	}
 
 	func updateWindowTitle() {
+		guard timelineSourceMode != .search else {
+			let localizedLabel = NSLocalizedString("Search: %@", comment: "Search")
+			window?.title = NSString.localizedStringWithFormat(localizedLabel as NSString, searchString ?? "") as String
+			if #available(macOS 11.0, *) {
+				window?.subtitle = ""
+			}
+			return
+		}
+		
 		func setSubtitle(_ count: Int) {
 			let localizedLabel = NSLocalizedString("%d unread", comment: "Unread")
 			let formattedLabel = NSString.localizedStringWithFormat(localizedLabel as NSString, count)

		lastSentSearchString = nil
		timelineSourceMode = .regular
		timelineContainerViewController?.setRepresentedObjects(nil, mode: .search)
	}
}


		let smartFeed = SmartFeed(delegate: SearchFeedDelegate(searchString: searchString))
		timelineContainerViewController?.setRepresentedObjects([smartFeed], mode: .search)
		searchSmartFeed = smartFeed
		updateWindowTitle()
	}

	func forceSearchToEnd() {
