wolfadex/elm-ansi/2.0.0

NOTE: the latest version is 3.0.1

Ansi

Erasing

clearScreen : String

Clears the entire screen

eraseScreen : String

Erases all of the screen

eraseUp : String

Erases the screen from the cursor up

eraseDown : String

Erases the screen from the cursor down

eraseLine : String

Erases the line the cursor is on

Erases the line from the cursor to the end

Erases the line from the beginning through the cursor

State

saveScreen : String
restoreScreen : String
scrollUpBy : Int -> String

Scrolls the terminal up

scrollDownBy : Int -> String

Scrolls the terminal down

Other

setTitle : String -> String

Sets the title of the terminal

beep : String

Emits an audio beep