From b6c1df41fba66e43dbef26a613a1a4d246e13b94 Mon Sep 17 00:00:00 2001 From: Sebastian Herrlinger Date: Mon, 24 Nov 2025 20:50:54 +0100 Subject: [PATCH] textarea highlight cursor color --- .../opencode/src/cli/cmd/tui/component/prompt/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx index 7a4813702..43aeef213 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx @@ -562,10 +562,6 @@ export function Prompt(props: PromptProps) { } }) - createEffect(() => { - renderer.setCursorColor(highlight()) - }) - return ( <> (input = r)} onMouseDown={(r: MouseEvent) => r.target?.focus()} focusedBackgroundColor={theme.backgroundElement} - cursorColor={theme.primary} + cursorColor={highlight()} syntaxStyle={syntax()} />