Skip to content
FutureBlitz

    Install

    Import std.term.style

    Paint

    std.term.style

    function

    Public Function Paint(text: String, style: Style): String

    text in style, for stdout: with the codes that show it where stdout is a terminal that shows colors, and alone where it isn't, or NO_COLOR is set, as Print(Paint("done", Style(TermColor.Green))).

    std/term/style.fb, line 406

    function

    Public Function Paint(text: String, style: Style, stream: StandardStream): String

    text in style, for stream, as stream shows colors.

    std/term/style.fb, line 411

    Report an issue with this page or with FutureBlitz on GitHub.