This commit is contained in:
Timothy Jaeryang Baek
2026-06-29 03:42:49 -05:00
parent a70a6589af
commit 958237473f
3 changed files with 23 additions and 1 deletions

View File

@@ -102,7 +102,7 @@
$: if ($selectedTerminalId && showFilesTab) {
activeTab = 'files';
if (largeScreen) {
showControls.set(true);
showControls.set($settings?.showFilesOnTerminalSelect ?? true);
}
}

View File

@@ -32,6 +32,7 @@
let widescreenMode = false;
let splitLargeChunks = false;
let scrollOnBranchChange = true;
let showFilesOnTerminalSelect = true;
let userLocation = false;
// Interface
@@ -244,6 +245,7 @@
widescreenMode = $settings?.widescreenMode ?? false;
splitLargeChunks = $settings?.splitLargeChunks ?? false;
scrollOnBranchChange = $settings?.scrollOnBranchChange ?? true;
showFilesOnTerminalSelect = $settings?.showFilesOnTerminalSelect ?? true;
temporaryChatByDefault = $settings?.temporaryChatByDefault ?? false;
chatDirection = $settings?.chatDirection ?? 'auto';
@@ -1065,6 +1067,25 @@
</div>
</div>
<div>
<div class=" py-0.5 flex w-full justify-between">
<div id="show-files-on-terminal-select-label" class=" self-center text-xs">
{$i18n.t('Show Files on Terminal Select')}
</div>
<div class="flex items-center gap-2 p-1">
<Switch
ariaLabelledbyId="show-files-on-terminal-select-label"
tooltip={true}
bind:state={showFilesOnTerminalSelect}
on:change={() => {
saveSettings({ showFilesOnTerminalSelect });
}}
/>
</div>
</div>
</div>
<div>
<div class=" py-0.5 flex w-full justify-between">
<div id="stylized-pdf-export-label" class=" self-center text-xs">

View File

@@ -213,6 +213,7 @@ type Settings = {
iframeSandboxAllowForms?: boolean;
iframeSandboxAllowSameOrigin?: boolean;
scrollOnBranchChange?: boolean;
showFilesOnTerminalSelect?: boolean;
directConnections?: null;
chatBubble?: boolean;
copyFormatted?: boolean;