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

This commit is contained in:
Octane
2026-01-12 07:50:27 +08:00
committed by GitHub
parent fa79736b87
commit 0c0057a7de

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