summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOctane <[email protected]>2026-01-12 07:50:27 +0800
committerGitHub <[email protected]>2026-01-12 00:50:27 +0100
commit0c0057a7deb8cde8df90e1899f39d42c6b9837ac (patch)
treec27a09a401496709d3c5e816aaec1dee1fa485d8
parentfa79736b875ba0a8437f42ff01626b35fab1d8f4 (diff)
downloadopencode-0c0057a7deb8cde8df90e1899f39d42c6b9837ac.tar.gz
opencode-0c0057a7deb8cde8df90e1899f39d42c6b9837ac.zip
Fix: TUI single-line paste cursor position (#7277)
-rw-r--r--packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx1
1 files changed, 0 insertions, 1 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 1463c813e..ad55c5268 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -915,7 +915,6 @@ export function Prompt(props: PromptProps) {
// Force layout update and render for the pasted content
setTimeout(() => {
input.getLayoutNode().markDirty()
- input.gotoBufferEnd()
renderer.requestRender()
}, 0)
}}