From 31c675a00e8b9f0478ef2563d94b9ddd5979c7a8 Mon Sep 17 00:00:00 2001 From: HuanLinOTO Date: Wed, 26 Aug 2026 22:43:20 +0800 Subject: [PATCH] feat: show pin icon on home session's pinned tabs too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TabBar's pin icon now shows for both virtual pinned tabs (injected from other sessions) AND the home session's own pinned terminal tabs (those with tab.pin !== undefined). Previously only virtual tabs got the icon — the home tab looked like a regular terminal despite being pinned. --- src/client/TabBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/TabBar.tsx b/src/client/TabBar.tsx index 7907ebb..567bd47 100644 --- a/src/client/TabBar.tsx +++ b/src/client/TabBar.tsx @@ -184,7 +184,7 @@ export function TabBar(props: { >
{tabs.map(tab => { - const pinned = isPinnedVirtualTab(tab) + const pinned = isPinnedVirtualTab(tab) || tab.pin !== undefined return (