I made a website to be the caniuse for terminals, and it also includes some history/fundamentals stuff. I thought it was useful background if you want to dive into the capabilities of modern terminal and trying to make sense of the alphabet soup that is SGR, OSC, ANSI, etc:
https://terminfo.dev/fundamentals/tty-architecture