Dax Raad 3 месяцев назад
Родитель
Сommit
e136a40771
1 измененных файлов с 2 добавлено и 1 удалено
  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()
               }}
               keyBindings={textareaKeybindings()}
-              onKeyDown={async (e: KeyEvent) => {
+              // TODO: fix this any
+              onKeyDown={async (e: any) => {
                 if (props.disabled) {
                   e.preventDefault()
                   return