···
2
+
synopsis: "Print with style in your terminal using Format's semantic tags"
3
+
maintainer: "Marc Chevalier <ocolor@marc-chevalier.com>"
4
+
authors: "Marc Chevalier <ocolor@marc-chevalier.com>"
6
+
"ocaml" {>= "4.02.3"}
8
+
"cppo" {build & >= "1.6.5"}
11
+
["dune" "build" "-p" name "-j" jobs]
13
+
homepage: "https://github.com/marc-chevalier/ocolor"
14
+
bug-reports: "https://github.com/marc-chevalier/ocolor/issues"
15
+
dev-repo: "git+https://github.com/marc-chevalier/ocolor.git"
18
+
This package provides a nice way to use ANSI escape codes thanks to Format's
19
+
semantic tags. This mode is compositional: ending a style restore the previous
20
+
one, instead of destroying everything.
21
+
This package also allows using directly ANSI escape codes (with Printf).
23
+
Note that this library does not intend to handle anything else than ANSI escape
24
+
codes (in particular, not the old Windows style of styling). Moreover, it aims
25
+
to be as pure as possible, so insensitive to the environment. As a consequence,
26
+
there is no mechanism to detect terminal's settings. However, some configuration
27
+
is possible, but must be done manually.
30
+
src: "https://github.com/marc-chevalier/ocolor/archive/1.2.2.tar.gz"
32
+
"md5=15061f2d4a82e44fafea22f2b5a36eb1"
33
+
"sha512=44bc2cbfe29838c21b98e1a6d7e20f80c5f0affde7ceeb8229d4630460d240df59042e9c4b30b1f51d516acce6cb7d56b91a7791e7a2f9b8bf408c7f76ad2d96"