As someone who knows how terminals, and indeed terminal emulators, work (having used actual terminals years ago, and having written several terminal emulators) I encourage you not to promote this AI-generated bunk as a source of learning.
It is incorrect on a lot of points, beginning with erroneous descriptions of the colour models and what line discipline modes the Bourne Again and Z shells use.
There are subtle omissions and errors in the "terminal stack" and TUI sections.
The "how they fit together" part is blatantly wrong, and the descriptions of the shells and the terminal emulators are laughable (but also regurgitate some widespread myths, which is likely why the AI slop here has what it has).
This is a sad+bad successor to the years of answers that I and other people gave on StackExchange and the like.
https://mastodon.social/@lobsters/115861488474520435
https://how-terminals-work.vercel.app
The lobste.rs people have already identified the source on Twitter for this AI slop.
