Fix: TUI single-line paste cursor position (#7277)
This commit is contained in:
@@ -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)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user