Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Attr
- combineStyles :: Attr -> Attr -> Attr
Documentation
A display attribute defines the Color and Style of all the characters rendered after the attribute is applied.
At most 256 colors, picked from a 240 and 16 color palette, are possible for the background and foreground. The 240 colors and 16 colors are points in different palettes. See Color for more information.
Instances
Eq Attr | |
Read Attr | |
Show Attr | |
Generic Attr | |
Semigroup Attr | |
Monoid Attr | |
FromJSON Attr Source # | |
NFData Attr | |
Defined in Graphics.Vty.Attributes | |
type Rep Attr | |
Defined in Graphics.Vty.Attributes type Rep Attr = D1 ('MetaData "Attr" "Graphics.Vty.Attributes" "vty-5.32-6kCPkGqlixFAsL1Ym27FhV" 'False) (C1 ('MetaCons "Attr" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attrStyle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MaybeDefault Style)) :*: S1 ('MetaSel ('Just "attrForeColor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MaybeDefault Color))) :*: (S1 ('MetaSel ('Just "attrBackColor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MaybeDefault Color)) :*: S1 ('MetaSel ('Just "attrURL") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MaybeDefault Text))))) |