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]
Versions [faq] 0.1.0,
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.15), text (>=1.0 && <1.3) [details]
License BSD-3-Clause
Copyright (c) 2018, Mitchell Rosen
Author Mitchell Rosen
Maintainer Mitchell Rosen <mitchellwrosen@gmail.com>
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 2020-06-15T03:25:49Z
Distributions NixOS:
Downloads 613 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-06-15 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for text-ansi-

[back to package description]

GitHub CI Hackage