Std.Term
21 public declarations
- BLACK
Std.Term.ColorNamed colour 0.
- BLUE
Std.Term.ColorNamed colour 4.
- clearLine
StrErases the current line and returns the cursor to its start.
- Color
A terminal colour: one of the sixteen named colours (0 to 15), a
- colorEnabled
BoolWhether the process should emit colour:
NO_COLORis unset or empty and - cursorUp
Int -> StrMoves the cursor up
countlines; empty for a count below one. - CYAN
Std.Term.ColorNamed colour 6.
- GRAY
Std.Term.ColorNamed colour 8.
- GREEN
Std.Term.ColorNamed colour 2.
- hideCursor
StrHides the cursor.
- MAGENTA
Std.Term.ColorNamed colour 5.
- paint
Str -> &Std.Term.Style -> Strtextwrapped in the escape sequences forstyle, followed by a reset. - paintIf
Bool -> Str -> &Std.Term.Style -> Strpaintwhenenabled, otherwisetextunchanged. - plain
Std.Term.StyleA style that changes nothing.
- RED
Std.Term.ColorNamed colour 1.
- showCursor
StrShows the cursor.
- strip
Str -> Strtextwith every control sequence introduced byESC [removed. - Style
How text is painted. Build one by updating
plain(): - visibleLength
Str -> IntThe number of characters
textoccupies once control sequences are removed. - WHITE
Std.Term.ColorNamed colour 7.
- YELLOW
Std.Term.ColorNamed colour 3.
