textarea highlight cursor color

This commit is contained in:
Sebastian Herrlinger 2025-11-24 20:50:54 +01:00
parent 125af820d0
commit b6c1df41fb

View file

@ -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}>