ansi-terminal-0.2.1: Simple ANSI terminal support, with Windows compatibility

System.Console.ANSI

Synopsis

Documentation

data ANSISGR Source

Constructors

Reset 
BoldIntensity 
FaintIntensity

Not widely supported: sometimes treated as conceal

NormalIntensity 
Italic

Not widely supported: sometimes treated as swapping foreground and background

SingleUnderline 
DoubleUnderline

Not widely supported

NoUnderline 
SlowBlink 
RapidBlink 
NoBlink 
Conceal

Not widely supported

Reveal 
SwapForegroundBackground 
DontSwapForegroundBackground 
ForegroundNormalIntensity ANSIColor 
ForegroundHighIntensity ANSIColor 
BackgroundNormalIntensity ANSIColor 
BackgroundHighIntensity ANSIColor 

cursorUpSource

Arguments

:: Int

Number of lines or characters to move

-> IO () 

cursorDownSource

Arguments

:: Int

Number of lines or characters to move

-> IO () 

cursorForwardSource

Arguments

:: Int

Number of lines or characters to move

-> IO () 

cursorBackwardSource

Arguments

:: Int

Number of lines or characters to move

-> IO () 

nextLineSource

Arguments

:: Int

Number of lines to move

-> IO () 

previousLineSource

Arguments

:: Int

Number of lines to move

-> IO () 

setColumnSource

Arguments

:: Int

0-based column to move to

-> IO () 

setPositionSource

Arguments

:: Int

0-based row to move to

-> Int

0-based column to move to

-> IO () 

scrollPageUpSource

Arguments

:: Int

Number of lines to scroll by

-> IO () 

scrollPageDownSource

Arguments

:: Int

Number of lines to scroll by

-> IO () 

Scroll the displayed information up or down the terminal: not widely supported