About

Metadata

  • Last updated , by mdibaiee
  • License GPL-3.0-only
  • Categories Web Development
  • Maintained by: mahdi@theread.me

  • Lottery factor: 0

Links

Installation

Readme

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