Fix: TUI single-line paste cursor position (#7277)
parent
fa79736b87
commit
0c0057a7de
|
|
@ -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)
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue