rio-prettyprint-0.1.4.0: Pretty-printing for RIO
Safe HaskellSafe-Inferred
LanguageHaskell2010

RIO.PrettyPrint.StylesUpdate

Synopsis

Documentation

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