This is more a series of questions rather than a bug. A very involved question.
AnsiCON will interpret all of the ansi escapes from a process being ran by ansicon but will ansicon forward those ansi escape sequences when forwarding it's output, like stdout, to another process?
If the last question is yes..
Are standard color changes like this
void SetColor(Color c){
if(hCon == NULL)
hCon = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hCon, c);
}
converted into ansi sequences for programs being executed under ansicon?
Yes. A pipe is not a console, so ANSICON will leave it alone.
No. Programs that write directly to the console should still work as usual; redirecting them will not generate escape sequences to preserve color changes (assuming the program even changes color if it detects it's redirected). Interesting idea, though...
This is more a series of questions rather than a bug. A very involved question.