package terminal

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

progress-0.5.0.tbz
sha256=7f87f0597363928c45ba859ae5a1430f6aa3c29e251ff1a53cf786ed0e045961
sha512=45dee4fe2ae0b7fc3ca675f6e854d738873eb608ef9155ea5d7edac4639c183ae1f512847a1b43bdfc1f4c459e7d5b44d03ee809455797e680f890b33d531367

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