···
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"}
9
+
"ounit2" {with-test & >= "2.0.8"}
12
+
["dune" "build" "-p" name "-j" jobs]
15
+
["dune" "runtest" "-p" name "-j" jobs]
17
+
homepage: "https://github.com/marc-chevalier/ocolor"
18
+
bug-reports: "https://github.com/marc-chevalier/ocolor/issues"
19
+
dev-repo: "git+https://github.com/marc-chevalier/ocolor.git"
22
+
This package provides a nice way to use ANSI escape codes thanks to Format's
23
+
semantic tags. This mode is compositional: ending a style restore the previous
24
+
one, instead of destroying everything.
25
+
This package also allows using directly ANSI escape codes (with Printf).
27
+
Note that this library does not intend to handle anything else than ANSI escape
28
+
codes (in particular, not the old Windows style of styling). Moreover, it aims
29
+
to be as pure as possible, so insensitive to the environment. As a consequence,
30
+
there is no mechanism to detect terminal's settings. However, some configuration
31
+
is possible, but must be done manually.
35
+
"https://github.com/marc-chevalier/ocolor/archive/refs/tags/1.3.1.tar.gz"
37
+
"md5=648a95f1829c7a26172e7168e969962d"
38
+
"sha512=f825b57889f4ca6f074688c736c26c98192d1bee37e05d81c991b6a75d4e06009656afe6430f55426e83e6a6922f791e5d8b7cccf56f908b940702bd21eebec9"