I stumbled on this article about safe terminal escape codes. It’s a good read if you’re working with terminal escape codes and want to avoid some of the pitfalls.

I have really only used the color ones myself. Might be neat to try out some of the cursor movement stuff someday.