@hackage termcolor0.2.0.0

Composable terminal colors

  • Installation

  • Dependencies (1)

  • Dependents (0)

termcolor

Composable terminal colors for Haskell.

import Text.Termcolor
import Text.Termcolor.Style
import qualified Text.Termcolor.Foreground as F
import qualified Text.Termcolor.Background as B

main = putStrLn . format . underline . bold . (light . B.cyan) . (F.red) $ read "Hello World!"

demo output