- Jun
- 1,092
- 48
The following strange thing is happening, and I'm not sure whether it is normal or a bug.
From a TCC session in TCMD, I open a legacy standalone TCC session (start /pgm C:\Windows\System32\conhost.exe ...\tcc.exe). It opens and runs fine. Now I attach that session. When I try to enter a command, I get a strange display.
What I type appears as a left-facing arrow with what I assume is some ANSI sequences after it. As I continue to type, additional left arrows appear and the ANSI stuff shifts to the right.
If I press ENTER, I get a new prompt, and everything works fine after that. The strange behavior happens only right after I attach the session. My prompt variable does not contain any of the extraneous stuff that appears initially.
From a TCC session in TCMD, I open a legacy standalone TCC session (start /pgm C:\Windows\System32\conhost.exe ...\tcc.exe). It opens and runs fine. Now I attach that session. When I try to enter a command, I get a strange display.
Code:
[TCC36.50.71 (56352) C:\]
->←[30;3H←[0;96;40me←[0;37;40m
What I type appears as a left-facing arrow with what I assume is some ANSI sequences after it. As I continue to type, additional left arrows appear and the ANSI stuff shifts to the right.
If I press ENTER, I get a new prompt, and everything works fine after that. The strange behavior happens only right after I attach the session. My prompt variable does not contain any of the extraneous stuff that appears initially.