Parcourir la source

ignore tmp type rrror

Dax Raad il y a 3 mois
Parent
commit
e136a40771
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

+ 2 - 1
packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

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