package terminal

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

Install

Dune Dependency

Authors

Maintainers

Sources

progress-0.4.0.tbz
sha256=8be449553379bb2dc5e8b79805c80447690a03dca3e9aee959fecf46d8278fb7
sha512=841383e8aa7d6bd802ced5eb7feae01bd507b2914eb45e8a559140677f83d5b8ec614f1d0bc54421021b5254a1edd78dd8a2506b2dfb264af72448d76bd03ac5

doc/terminal.ansi/Terminal_ansi/Style/index.html

Module Terminal_ansi.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.