Gren ANSI

Control terminal text, cursor, and screen with ANSI escape sequences in Gren.

import Ansi

coolGreeting : String -> String
coolGreeting =
    "Hello!"
        |> Ansi.wrapItalic
        |> Ansi.wrapColor Ansi.Green

See Ansi module docs for everything that's available.

There are also functions for controlling the screen and cursor. See the gren-tui examples for usage in a full program, including interactivity!