Name: AWin32Console
Version: 1.1
Description: ANSI escape code
License: BSD3
License-file: LICENSE
Author: Harald Wolfsgruber
-- Library Files -------------
AWin32Console.hs
BWin32Console.c
BWin32Console.h
LICENSE
README
-- Functions -----------------
aPutStr :: String -> IO ()
aPutStrLn :: String -> IO ()
-- Usage ---------------------
aPutStrLn "\ESC[1;32mTest\ESC[0m"
-- Documentation -------------
Implemented:
ESC[#;...;#m set display attributes
ESC[0m reset display attributes
ESC[0J erase from cursor to end of display
ESC[1J erase from start to cursor
ESC[2J cls and cursor to (1,1)
ESC[0K delete to end of line
ESC[1K delete from start of line to cursor
ESC[2K delete whole line
ESC[#L insert # blank lines
ESC[#@ insert # blank characters
ESC[#M delete # lines
ESC[#P delete # characters
ESC[#A moves cursor up # lines
ESC[#B moves cursor down # lines
ESC[#C moves cursor forward # lines
ESC[#D moves cursor back # lines
ESC[#E moves cursor down # lines column 1
ESC[#F moves cursor up # lines column 1
ESC[#G moves cursor to column #
ESC[#;#H moves cursor to line #, column #
ESC[#;#f moves cursor to line #, column #
ESC[s saves the cursor position
ESC[u restores the cursor position