Console Virtual Terminal Sequences - Windows Console

Virtual terminal sequences are control character sequences that can control cursor movement, color/font mode, and other operations when written to the output stream.