Process ANSI escape sequences for Windows console programs.