Module Ansi_text.AnsiSource

include module type of Ansi
Sourcetype formatting = [
  1. | `Style of Style.t
]
Sourcetype emulation = [
  1. | `Private_mode of Private_mode.t
  2. | `Osc of Osc.t
  3. | `Dsr of Dsr.t
]
Sourcetype t = [
  1. | formatting
  2. | emulation
  3. | `Control of Control.t
  4. | `Unknown of Unknown_esc.t
]
Sourceval compare : t -> t -> int
Sourceval compare__local : t @ local -> t @ local -> int
Sourceval equal : t -> t -> bool
Sourceval equal__local : t @ local -> t @ local -> bool
include Ppx_quickcheck_runtime.Quickcheckable.S with type t := t
Sourceval quickcheck_generator : t Base_quickcheck.Generator.t
Sourceval quickcheck_observer : t Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker : t Base_quickcheck.Shrinker.t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval __t_of_sexp__ : Sexplib0.Sexp.t -> t
Sourceval of_csi : ?private_prefix:char -> string -> terminal:char -> t

Dispatches to Style, Control, Private_mode, Dsr, or Unknown depending on the parameters string and the initial and final characters.

Sourceval of_osc_payload : string -> t
Sourceval to_string : t -> string
Sourceval to_string_hum : t -> string