The open source coding agent.
TypeScript
fix: make the logo on the home screen non-selectable
David Hillb803a9732d93
diff --git a/packages/opencode/src/cli/cmd/tui/component/logo.tsx b/packages/opencode/src/cli/cmd/tui/component/logo.tsxindex 4f512159651..d1be06a7f25 100644--- a/packages/opencode/src/cli/cmd/tui/component/logo.tsx+++ b/packages/opencode/src/cli/cmd/tui/component/logo.tsx@@ -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>