Library for formatted output on terminals
Information on ANSI Codes can be found at http://en.wikipedia.org/wiki/ANSIescapecode
cursorPos
:: Int -> Int -> String
move cursor to position
cursorHome
:: String
move cursor to home position
move cursor n lines up
cursorDown
:: Int -> String
move cursor n lines down
move cursor n columns forward
cursorBack
:: Int -> String
move cursor n columns backward
saveCursor
:: String
save cursor position
restore saved cursor position
clear screen
erase line
Reset formatting to normal formatting
Bold text
Faint text
Italic text
Underlined text
Slowly blinking text
blinkRapid
:: String -> String
rapidly blinking text
Inverse colors
Concealed (invisible) text
crossedout
:: String -> String
Crossed out text
Black foreground color
Red foreground color
Green foreground color
Yellow foreground color
Blue foreground color
Magenta foreground color
Cyan foreground color
White foreground color
Default foreground color
Black background color
Red background color
Green background color
Yellow background color
Blue background color
Magenta background color
Cyan background color
White background color
Default background color