chore: format
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 54s
CI / Lint & Test (pull_request) Failing after 5m39s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped

This commit is contained in:
2026-01-22 09:55:23 -08:00
parent 59c7652f3e
commit 52c0157a1a
2 changed files with 5 additions and 8 deletions
+3 -1
View File
@@ -135,7 +135,9 @@
<Markdown content={line.content} searchQuery={currentSearchQuery} />
{:else}
<!-- eslint-disable-next-line svelte/no-at-html-tags -- Search highlighting on internal terminal content -->
<span class="whitespace-pre-wrap">{@html highlightText(line.content, currentSearchQuery)}</span>
<span class="whitespace-pre-wrap"
>{@html highlightText(line.content, currentSearchQuery)}</span
>
{/if}
</div>
{/each}
+2 -7
View File
@@ -39,9 +39,7 @@ export const searchState = {
searchStore.update((state) => ({
...state,
currentMatchIndex:
state.matchCount > 0
? (state.currentMatchIndex + 1) % state.matchCount
: 0,
state.matchCount > 0 ? (state.currentMatchIndex + 1) % state.matchCount : 0,
}));
},
@@ -60,9 +58,6 @@ export const searchState = {
},
};
export const isSearchActive = derived(
searchStore,
($search) => $search.isActive
);
export const isSearchActive = derived(searchStore, ($search) => $search.isActive);
export const searchQuery = derived(searchStore, ($search) => $search.query);