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.
Author | Marc Chevalier <ocolor@marc-chevalier.com> |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/marc-chevalier/ocolor |
Issue Tracker | https://github.com/marc-chevalier/ocolor/issues |
Maintainer | Marc Chevalier <ocolor@marc-chevalier.com> |
Dependencies | |
Source [http] | https://github.com/marc-chevalier/ocolor/archive/1.2.1.tar.gz md5=b0ee5aebb9233f6ec301c8acfff649a9 sha512=bd313217e648a767790bdcce5998e1989d060f71b5dd35fe6193c630ebbdb52257e898729a58198b4dea4799068a2b724d47b0b0c3fce6e275e153e2a72d4a39 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocolor/ocolor.1.2.1/opam |