Ansi.Screen

Functions to manipulate the terminal screen.

clear : Direction -> String

Clear screen in the given Direction.

clearLine : Direction -> String

Clear the current line in the given direction.

Direction

Specify where you want to apply your changes: before the cursor, after the cursor, or the full screen.

before : Direction

Apply to text before the cursor.

after : Direction

Apply to text after the cursor.

full : Direction

Apply to the whole screen.