Ah, I think I understand what you're doing & seeing now that I changed my font to an old one that displays the DOS control characters.
TCC and ANSI are doing everything correctly; your expectations are wrong.
In addition to all of the <ESC>[... and <ESC>]... sequences, ANSI x3.64 includes dozens of other two character escape sequences, such as:
<ESC>M (reverse index)
<ESC>^ (privacy message)
When you do an:
The ANSI driver (correctly!) interprets this to mean "show the following control character as a graphical character". So what you're seeing is the <CR> being converted to its graphical representation.
So the question is -- do you have a pressing need to print invisible escape characters? If so, I will need to disable that feature in the ANSI driver (risking the wrath of whatever users out there actually want to use it).