This is CS51's fork (
CS51-Staff/ANSITerminal, upstreamChris00/ANSITerminal), rebased for OCaml 5.x compatibility with CI-environment color support added.Setup/cs51_install.shpins it from this fork'smasterbranch rather than installing the upstream package viaopam. Everything below is upstream's own README, otherwise unmodified.
ANSITerminal provides Basic control of ANSI compliant terminals and the windows shell.
ANSITerminal is a module allowing to use the colors and cursor movements on ANSI terminals. It also works on the windows shell (this part is currently work in progress).
On Unix and OSX, the easier to install this library is to use opam:
opam install ANSITerminal
On Windows, until opam and ocamlbuild work well on this platform,
you clone this repository and compile and install this library by
executing:
build
The API may be read online.