mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
textarea highlight cursor color
This commit is contained in:
parent
125af820d0
commit
b6c1df41fb
1 changed files with 1 additions and 5 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue