Use ANSI escape codes in the print_long function.

The print_long function was using the os specific function. I changed it for the AINSI code. :)