i think part of the problem is the archaic interface that is needed to enable feature rich terminal apps. what we really want is a modern terminal API that does not rely on in-band command sequences. that is we want terminals that can be programmed like a GUI, but still run in a simple (remote) terminal like before.
plan9 and 9term solved this decades ago, right?
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/OnTerminal...