By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!It's no better.This persists in build 30. In a half-hour or so I'll find out if the latest insider preview of Windows 10 helps.
CMD doesn't exhibit this problem. Are you going to work around it?TCC is not involved. The API to turn ANSI on & off is SetConsoleMode with the ENABLE_VIRTUAL_TERMINAL_PROCESSING flag. After doing the redirection, Windows is turning off that flag. TCC notices this when it executes the next command, and turns it back on.
You need to contact Microsoft about why they're doing that.
Earlier you said "TCC notices this when it executes the next command, and turns it back on". I don't know how it works but ... can't TCC notice it earlier, say, before issuing the next prompt (without ill effect)?CMD uses different APIs for redirection. I could emulate the CMD behavior, but it would result in losing 99% of the TCC line editing features.