It is honoring standard ANSI console escape codes. There are lots of them: http://ascii-table.com/ansi-escape-sequences.php