The termcolor package

[ Tags: gpl, library, program, web ] [ Propose Tags ]

Composable terminal colors


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0
Dependencies base (>=4.7 && <5), cli (>=0.1.2 && <1), termcolor [details]
License GPL-3
Copyright 2017 Mahdi Dibaiee
Author Mahdi Dibaiee
Maintainer mahdi@theread.me
Category Web
Home page https://github.com/mdibaiee/termcolor#readme
Source repository head: git clone https://github.com/mdibaiee/termcolor
Uploaded Thu Mar 30 12:23:47 UTC 2017 by mdibaiee
Distributions LTSHaskell:0.2.0.0, NixOS:0.2.0.0, Stackage:0.2.0.0, Tumbleweed:0.2.0.0
Executables termcolor
Downloads 132 total (12 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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