text-ansi: Text styling for ANSI terminals.

[ bsd3, data, library ] [ Propose Tags ]

Text styling for ANSI terminals using SGR codes, as defined by the 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.

[Skip to Readme]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1.0,,, 0.1.1, 0.2.0, 0.2.1
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.19), text (>=1.0 && <2.1), text-builder (>=0.6.7 && <0.7) [details]
License BSD-3-Clause
Copyright (c) 2018-2023, Mitchell Rosen
Author Mitchell Rosen
Maintainer Mitchell Rosen <mitchellwrosen@gmail.com>
Revised Revision 1 made by mitchellwrosen at 2023-03-16T04:02:27Z
Category Data
Home page https://github.com/mitchellwrosen/text-ansi
Bug tracker https://github.com/mitchellwrosen/text-ansi/issues
Source repo head: git clone git://github.com/mitchellwrosen/text-ansi.git
Uploaded by mitchellwrosen at 2022-11-05T08:58:58Z
Distributions LTSHaskell:0.2.1, NixOS:0.2.1, Stackage:0.2.1
Reverse Dependencies 4 direct, 6 indirect [details]
Downloads 2392 total (79 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for text-ansi-0.2.1

[back to package description]

GitHub CI Hackage Stackage LTS Stackage Nightly Dependencies