package ocolor

  1. Overview
  2. No Docs
Print with style in your terminal using Format's semantic tags

Install

Authors

Maintainers

Sources

1.3.1.tar.gz
md5=648a95f1829c7a26172e7168e969962d
sha512=f825b57889f4ca6f074688c736c26c98192d1bee37e05d81c991b6a75d4e06009656afe6430f55426e83e6a6922f791e5d8b7cccf56f908b940702bd21eebec9

Description

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.

Published: 28 Aug 2023

Dependencies (3)

  1. cppo build & >= "1.6.5"
  2. dune >= "1.6.3"
  3. ocaml >= "4.02.3"

Dev Dependencies (1)

  1. ounit2 with-test & >= "2.0.8"

Used by (1)

  1. simlog

Conflicts

None