diff options
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx | 6 |
1 files changed, 1 insertions, 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 ( <> <Autocomplete @@ -777,7 +773,7 @@ export function Prompt(props: PromptProps) { ref={(r: TextareaRenderable) => (input = r)} onMouseDown={(r: MouseEvent) => r.target?.focus()} focusedBackgroundColor={theme.backgroundElement} - cursorColor={theme.primary} + cursorColor={highlight()} syntaxStyle={syntax()} /> <box flexDirection="row" flexShrink={0} paddingTop={1} gap={1}> |
