text-ansi: Text styling for ANSI terminals.
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]
Downloads
- text-ansi-0.3.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.2.0, 0.2.1, 0.2.1.1, 0.3.0, 0.3.0.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.16 && <4.21), text (>=1.0 && <2.2), text-builder-linear (>=0.1.1 && <0.2) [details] |
Tested with | ghc ==9.6.5, ghc ==9.8.2, ghc ==9.10.1 |
License | BSD-3-Clause |
Copyright | (c) 2018-2024 Mitchell Dalvi Rosen, Travis Staton |
Author | Mitchell Dalvi Rosen, Travis Staton |
Maintainer | Mitchell Dalvi Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com> |
Revised | Revision 1 made by mitchellwrosen at 2024-05-16T02:18:16Z |
Category | Data |
Home page | https://github.com/awkward-squad/text-ansi |
Bug tracker | https://github.com/awkward-squad/text-ansi/issues |
Source repo | head: git clone git://github.com/awkward-squad/text-ansi.git |
Uploaded | by mitchellwrosen at 2023-10-12T16:00:38Z |
Distributions | Arch:0.2.1.1, Fedora:0.2.1.1, LTSHaskell:0.3.0.1, NixOS:0.3.0.1, Stackage:0.3.0.1, openSUSE:0.3.0.1 |
Reverse Dependencies | 4 direct, 7 indirect [details] |
Downloads | 3975 total (73 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-10-12 [all 1 reports] |