System.Console.ANSI

Basic data types

data Color

data ColorIntensity

data ConsoleLayer

data BlinkSpeed

data Underlining

data ConsoleIntensity

data SGR

Cursor movement by character

cursorUp

cursorBackward

cursorForward

cursorDown

hCursorUp

hCursorBackward

hCursorForward

hCursorDown

cursorUpCode

cursorBackwardCode

cursorForwardCode

cursorDownCode

Cursor movement by line

cursorDownLine

cursorUpLine

hCursorDownLine

hCursorUpLine

cursorDownLineCode

cursorUpLineCode

Directly changing cursor position

setCursorColumn

hSetCursorColumn

setCursorColumnCode

setCursorPosition

hSetCursorPosition

setCursorPositionCode

Clearing parts of the screen

clearFromCursorToScreenEnd

clearScreen

clearFromCursorToScreenBeginning

hClearFromCursorToScreenEnd

hClearScreen

hClearFromCursorToScreenBeginning

clearFromCursorToScreenEndCode

clearScreenCode

clearFromCursorToScreenBeginningCode

clearFromCursorToLineEnd

clearLine

clearFromCursorToLineBeginning

hClearFromCursorToLineEnd

hClearLine

hClearFromCursorToLineBeginning

clearFromCursorToLineEndCode

clearLineCode

clearFromCursorToLineBeginningCode

Scrolling the screen

scrollPageUp

scrollPageDown

hScrollPageUp

hScrollPageDown

scrollPageUpCode

scrollPageDownCode

Select Graphic Rendition mode: colors and other whizzy stuff

setSGR

hSetSGR

setSGRCode

Cursor visibilty changes

hideCursor

showCursor

hHideCursor

hShowCursor

hideCursorCode

showCursorCode

Changing the title

setTitle

hSetTitle

setTitleCode