color : ColorPair -> Doc Attribute -> Doc Attributeunderline : Doc Attribute -> Doc Attributestandout : Doc Attribute -> Doc Attributereverse : Doc Attribute -> Doc Attributeblink : Doc Attribute -> Doc Attributedim : Doc Attribute -> Doc Attributebold : Doc Attribute -> Doc Attributeprotected : Doc Attribute -> Doc Attributeinvisible : Doc Attribute -> Doc AttributetoANSI : Attribute -> AnsiStyleMap NCurses attributes to ANSI styles.
This allows a Doc to be written with NCurses styles and
displayed in a terminal without NCurses as a fallback or
alternative.
renderNCurses : HasIO io => SimpleDocStream Attribute -> io ()