text-ansi-0.1.0: text-ansi.cabal
cabal-version: 2.2
name: text-ansi
version: 0.1.0
category: Data
synopsis: Text styling for ANSI terminals.
description:
Text styling for ANSI terminals using SGR codes, as defined by the
<https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf ECMA-48>
standard.
.
Supports foreground\/background color, bold\/faint intensity, italic,
single\/double underline, strikethrough, frame, encircle, and overline escape
sequences. Some styles may not work on your terminal.
.
Also features terminal detection, so redirecting styled output to a file will
automatically strip the ANSI escape sequences.
author: Mitchell Rosen
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>
homepage: https://github.com/mitchellwrosen/text-ansi
bug-reports: https://github.com/mitchellwrosen/text-ansi/issues
copyright: (c) 2018, Mitchell Rosen
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.2
extra-source-files:
.travis.yml
CHANGELOG.md
README.md
source-repository head
type: git
location: git://github.com/mitchellwrosen/text-ansi.git
library
build-depends:
base ^>= 4.10 || ^>= 4.11 || ^>= 4.12
, text ^>= 1.0 || ^>= 1.1 || ^>= 1.2
, text-builder ^>= 0.6
default-language:
Haskell2010
exposed-modules:
Data.Text.ANSI
ghc-options:
-Wall
-Wcompat