termcolor: Composable terminal colors

[ gpl, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

Composable terminal colors


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0
Dependencies base (>=4.7 && <5), cli (>=0.1.2 && <1), termcolor [details]
License GPL-3.0-only
Copyright 2017 Mahdi Dibaiee
Author Mahdi Dibaiee
Maintainer mahdi@theread.me
Category Web
Home page https://github.com/mdibaiee/termcolor#readme
Source repo head: git clone https://github.com/mdibaiee/termcolor
Uploaded by mdibaiee at 2017-03-30T12:23:47Z
Distributions NixOS:0.2.0.0
Executables termcolor
Downloads 1589 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]

Readme for termcolor-0.2.0.0

[back to package description]

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