ocolorversion

Print with style in your terminal using Format's semantic tags

This package provides a nice way to use ANSI escape codes thanks to Format's semantic tags. This mode is compositional: ending a style restore the previous one, instead of destroying everything. This package also allows using directly ANSI escape codes (with Printf).

Note that this library does not intend to handle anything else than ANSI escape codes (in particular, not the old Windows style of styling). Moreover, it aims to be as pure as possible, so insensitive to the environment. As a consequence, there is no mechanism to detect terminal's settings. However, some configuration is possible, but must be done manually.

AuthorMarc Chevalier <ocolor@marc-chevalier.com>
LicenseMIT
Published
Homepagehttps://github.com/marc-chevalier/ocolor
Issue Trackerhttps://github.com/marc-chevalier/ocolor/issues
MaintainerMarc Chevalier <ocolor@marc-chevalier.com>
Dependencies
Source [http] https://github.com/marc-chevalier/ocolor/archive/1.1.tar.gz
md5=094b701f30af41b89f554e978cb0762c
sha512=b558fb735d28c262b0cf047835df2bc59e89daf44fbaf55b3d73293457713cb2a45805965f4bd6aafac1e7bc6325b3e70ec59d3e4a096b25e99072fee68ac8ce
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocolor/ocolor.1.1/opam
No package is dependent