Skip to content

The open source coding agent.

TypeScript

ignore tmp type rrror

Dax Raade136a40771fc
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
index 663e4f520ee..c977f7318ca 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/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