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

pull/7653/merge
Octane 2026-01-12 07:50:27 +08:00 committed by GitHub
parent fa79736b87
commit 0c0057a7de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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)
}}