From bcd637e8e59b1962dd72a07ea891262c25a13c5d Mon Sep 17 00:00:00 2001 From: Sebastian Herrlinger Date: Tue, 28 Oct 2025 23:23:18 +0100 Subject: [PATCH] up/down history --- .../cli/cmd/tui/component/prompt/index.tsx | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) 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) {