byline-0.4.0.0: Library for creating command-line interfaces (colors, menus, etc.)

Safe HaskellSafe
LanguageHaskell2010

System.Console.Byline.Modifiers

Description

Modifiers for the Stylized type.

Synopsis

Documentation

fg :: Color -> Stylized Source #

Set the foreground color. For example:

    "Hello World!" <> fg magenta

bg :: Color -> Stylized Source #

Set the background color.

bold :: Stylized Source #

Produce bold text.

underline :: Stylized Source #

Produce underlined text.

swapFgBg :: Stylized Source #

Produce swapped foreground/background text.