[Haskell-cafe] Windows console

Max Bolingbroke batterseapower at hotmail.com
Tue Sep 9 15:41:48 EDT 2008


2008/9/9 Andrew Coppin <andrewcoppin at btinternet.com>:
> Actually, now that I think about it, it would be kind of nice to have a
> magic package that writes out escape codes or calls the Win32 API depending
> on which platform your program is compiled on - in the style of
> System.FilePath. I don't know how to do that though... A nice idea, guys?

I wrote this package a few weeks ago: check out
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ansi-terminal
and it's companion
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ansi-wl-pprint

Cheers,
Max


More information about the Haskell-Cafe mailing list