ECMA-48 (equivalent to ANSI X3.64 and ISO 6429) is free: https://www.ecma-international.org/publications-and-standard...
Some terminal emulated developers clearly didn't read it, though.
Some terminal emulated developers clearly didn't read it, though.
Be avare that it is completely valid to have control characters such as carriage return in the middle of control sequence.