Skip to content

Commit 36c3fc5

Browse files
committed
refac
1 parent 0f0ba7d commit 36c3fc5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/lib/components/chat/ChatControls.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@
9595
showControls.set(true);
9696
}
9797
98-
// Auto-open Files tab when a terminal is selected
98+
// Auto-open Files tab when a terminal is selected (suppress panel open when full-screen)
9999
$: if ($selectedTerminalId) {
100100
activeTab = 'files';
101-
showControls.set(true);
101+
if (largeScreen) {
102+
showControls.set(true);
103+
}
102104
}
103105
104106
// Attach a terminal file to the chat input

0 commit comments

Comments
 (0)