fix: startNewSession 不切命令行,保留工具页签

This commit is contained in:
thzxx
2026-06-13 09:20:49 +08:00
parent 0b58639295
commit 41ee21ccb3
+1 -1
View File
@@ -287,7 +287,7 @@ async function startNewSession(): Promise<void> {
// ── 重置工作空间到空闲状态 ──
clearToolCardsExternal();
clearTerminalExternal();
switchToTab('terminal');
switchToTab('tools');
(document.querySelector('#chatInput') as HTMLElement)?.focus();
}