fix: make the logo on the home screen non-selectable

thinking-toggle-wip
David Hill 2025-12-12 09:43:41 +00:00 committed by Aiden Cline
parent 86f9c3acce
commit c316ef35d9
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,3 @@
import { Installation } from "@/installation"
import { TextAttributes } from "@opentui/core"
import { For } from "solid-js"
import { useTheme } from "@tui/context/theme"
@ -14,8 +13,10 @@ export function Logo() {
<For each={LOGO_LEFT}>
{(line, index) => (
<box flexDirection="row" gap={1}>
<text fg={theme.textMuted}>{line}</text>
<text fg={theme.text} attributes={TextAttributes.BOLD}>
<text fg={theme.textMuted} selectable={false}>
{line}
</text>
<text fg={theme.text} attributes={TextAttributes.BOLD} selectable={false}>
{LOGO_RIGHT[index()]}
</text>
</box>