|
@@ -562,10 +562,6 @@ export function Prompt(props: PromptProps) {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
- createEffect(() => {
|
|
|
|
|
- renderer.setCursorColor(highlight())
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
<Autocomplete
|
|
<Autocomplete
|
|
@@ -777,7 +773,7 @@ export function Prompt(props: PromptProps) {
|
|
|
ref={(r: TextareaRenderable) => (input = r)}
|
|
ref={(r: TextareaRenderable) => (input = r)}
|
|
|
onMouseDown={(r: MouseEvent) => r.target?.focus()}
|
|
onMouseDown={(r: MouseEvent) => r.target?.focus()}
|
|
|
focusedBackgroundColor={theme.backgroundElement}
|
|
focusedBackgroundColor={theme.backgroundElement}
|
|
|
- cursorColor={theme.primary}
|
|
|
|
|
|
|
+ cursorColor={highlight()}
|
|
|
syntaxStyle={syntax()}
|
|
syntaxStyle={syntax()}
|
|
|
/>
|
|
/>
|
|
|
<box flexDirection="row" flexShrink={0} paddingTop={1} gap={1}>
|
|
<box flexDirection="row" flexShrink={0} paddingTop={1} gap={1}>
|