Rise Up
Ranting as usual
Behold, my thoughts!
This is for reference, on systems that limit access to github gist.
Standard escape codes are prefixed with Escape:
^[\033\u001b\x1B27Followed by the command, sometimes delimited by opening square bracket ([), known as a Control Sequence Introducer (CSI), optionally followed by arguments and the command itself.
Arguments are delimited by semi colon (;).
For example:
\x1b[1;31m # Set style to bold, red foreground.
ESC - sequence starting with ESC (\x1B)CSI - Control Sequence Introducer: sequence starting with ESC [ or CSI (\x9B)DCS - Device Control String: sequence starting with ESC P or DCS (\x90)OSC - Operating System Command: sequence starting with ESC ] or OSC (\x9D)Any whitespaces between sequences and arguments should be ignored. They are present for improved readability.