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 d876a1ad7..89f9aa36a 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx @@ -64,6 +64,7 @@ export function Prompt(props: PromptProps) { return [ { name: "return", action: "submit" }, + { name: "return", meta: true, action: "newline" }, ...newlineBindings.map((binding) => ({ name: binding.name, ctrl: binding.ctrl || undefined, @@ -427,7 +428,7 @@ export function Prompt(props: PromptProps) {