The ansi-terminal package

ANSI terminal support for Haskell: allows cursor movement, screen clearing, color output and showing or hiding the cursor.
Compatible with Windows and those Unixes with ANSI terminals, but only GHC is supported as a compiler.