package omod

  1. Overview
  2. Docs

Module Private.FmtSource

Formatting.

Sourceval ansi_tty : bool ref

ansi_tty determines whether ANSI formatting is performed or not.

Sourcetype 'a t = Format.formatter -> 'a -> unit

The type for formatters of value of type 'a.

Sourceval pf : Format.formatter -> ('a, Format.formatter, unit) format -> 'a
Sourceval string : string t
Sourceval list : ?sep:unit t -> 'a t -> 'a list t
Sourceval tty_str : mode:string -> string t

tty_str ~mode formats string with ANSI mode mode.

Sourceval faint : string t

faint formats a string with less contrast.