Visible re-renders when content of the lines is updated

Found the issue with multiple CLI applications, e.g. when rendering progress bars.

When those apps update the screen with new data, there is a visible update.

This is a regression, it was working few months ago.

I tested in Hyperterm and xterm and everything works fine.

I'm attaching script session from ollama, this project has almost 100k of stars on GitHub (I know this is not a proof, but I bet they know how to implement a progress bar properly).

vte_render_script.tar.gz

Note that scriptreplay don't run properly in Hyper, but the ollama CLI works fine.

Edited by Jakub Jankiewicz