Browse Source

Fix: TUI single-line paste cursor position (#7277)

Octane 1 month ago
parent
commit
0c0057a7de
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

+ 0 - 1
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)
               }}