Safe Haskell | None |
---|
Colours and text attributes.
Colours
data Color
Colours supported by the major frontends.
Due to the limitation of the curses library used in the curses frontend, only these are legal backgrounds.
colorToRGB :: Color -> String
Translationg to heavily modified Linux console color RGB values.
Text attributes and the screen
data Attr
Text attributes: foreground and backgroud colors.