package terminal

  1. Overview
  2. Docs
Basic utilities for interacting with terminals

Install

Dune Dependency

Authors

Maintainers

Sources

terminal-0.2.1.tbz
sha256=7ae7f5c5a2db88107d0b3fd37d5344f066921270a3e74d56dd13457feb9e586e
sha512=3828ac568e447e5f1e59450ee48491c256d8bc77abe234190e14e2db5be7b81f379837083f0eb28ea9572fce2781fd0addd7adc1701947c0b2de9d8319ace042

doc/terminal/Terminal/Style/index.html

Module Terminal.StyleSource

Sourcetype t

The type of terminal styles: values that can be printed to a terminal in order to change the way that it renders text.

Sourceval code : t -> string

Get the ANSI escape code for the given style.

Constructing ANSI styles:

Sourceval none : t
Sourceval bold : t
Sourceval faint : t
Sourceval italic : t
Sourceval underline : t
Sourceval reverse : t
Sourceval fg : Color.t -> t
Sourceval bg : Color.t -> t
OCaml

Innovation. Community. Security.