UpNext

13.4.1  ansi_terminal

The ansi_terminal package implements support for ANSI terminal control codes. Currently, this support is just for display attributes.

The ansi_terminal package implements an anonymous API defined inline in the source.

The ansi_terminal package source code is src/lib/src/ansi-term.pkg.

The above information is manually maintained and may contain errors.

api {    Color 
      = BLACK
      | BLUE
      | CYAN
      | GREEN
      | MAGENTA
      | RED
      | WHITE
      | YELLOW;
    Style 
      = BF | BG Color | BLINK | FG Color | INVIS | REV | UL;
    to_string : List(Style ) -> String;
    set_style : (Output_Stream , List(Style )) -> Void;
};

Comments and suggestions to: bugs@mythryl.org

UpNext