rio-prettyprint-0.1.8.0: Pretty-printing for RIO
Safe HaskellNone
LanguageHaskell2010

RIO.PrettyPrint.StylesUpdate

Synopsis

Documentation

newtype StylesUpdate Source #

Updates to Styles

Constructors

StylesUpdate 

Fields

parseStylesUpdateFromString :: String -> StylesUpdate Source #

Parse a string that is a colon-delimited sequence of key=value, where key is a style name and value is a semicolon-delimited list of ANSI SGR (Select Graphic Rendition) control codes (in decimal). Keys that are not present in defaultStyles are ignored. Items in the semicolon-delimited list that are not recognised as valid control codes are ignored.

class HasStylesUpdate env where Source #

Environment values with a styles update.

Since: 0.1.0.0