Yes, this is the ubiquitous memory issue that I mentioned. Unfortunately, it is now the baseline in all modern apps.
>random lines disappear in the scroll back, it’s internal state gets messed up causing the TUI to show duplicate and/or offset lines,
I haven't seen this issue, other than when I am using a shell that is bugged and does it with all TUI/console programs (usually a virtualized shell which I resized). Do you have a reproducible example of this?