The open source coding agent.
TypeScript
textarea highlight cursor color
Sebastian Herrlingerb6c1df41fba6
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsxindex 7a48137028a..43aeef2137c 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}>