Просмотр исходного кода

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

Octane 8 месяцев назад
Родитель
Сommit
0c0057a7de
1 измененных файлов с 0 добавлено и 1 удалено
  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)
               }}