score:0

thanks for the kind response here, the atomatic render is disabled by design. to solve the above question, the correct code looks like this:

domref.current.style.visibility = 'hidden'
term.clear()
newbuffer.map(line => term.writeln(line))
term.scrolltobottom()
domref.current.style.visibility = 'show'

https://github.com/xtermjs/xterm.js/issues/3859#event-6795418246


Related Query

More Query from same tag