Fixed ANSI escape code bug at WIN32