Error in debug mode 1 display
I am using TeraTerm 4.106 to display the output of a CP/M 2.2 SBC.
In a program I send esc,"c" (hard reset) to TT. In debug mode 1 I get 'esc[c' shown on the debug screen (the left square bracket seems to have been added) but debug mode 2 I get 1B 63 hex which is correct.
Similarly if my program writes esc,"[30m" to TT, in mode 1 I see 'esc[[30m' (double left bracket) on the debug screen but in mode 2 I get 1B 5B 33 30 6D which is correct.
I have checked with a stand-alone program that my code is not sending extra [ characters so confirming that TT mode 2 display is correct.
C0 (ASCII 0x00-0x1F) control characters are displayed in debug mode as follows:
cf. Displaying all received characters
It's expected behavior that ESC(0x1B) is displayed as '^['.