|
@@ -539,7 +539,8 @@ export function Prompt(props: PromptProps) {
|
|
|
syncExtmarksWithPromptParts()
|
|
syncExtmarksWithPromptParts()
|
|
|
}}
|
|
}}
|
|
|
keyBindings={textareaKeybindings()}
|
|
keyBindings={textareaKeybindings()}
|
|
|
- onKeyDown={async (e: KeyEvent) => {
|
|
|
|
|
|
|
+ // TODO: fix this any
|
|
|
|
|
+ onKeyDown={async (e: any) => {
|
|
|
if (props.disabled) {
|
|
if (props.disabled) {
|
|
|
e.preventDefault()
|
|
e.preventDefault()
|
|
|
return
|
|
return
|