package core_kernel

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ansi_kernelSource

Common ANSI display attribute definitions.

NOTE: assorted content lifted from lib/console/src/console.ml

Sourcemodule Color_256 : sig ... end

Support for 256-color handling on terminals/consoles. Note that the functions of_rgb6_exn and of_rgb6 return values within the 6x6x6 color-cube space, even though equivalent duplicates exist in the first 16 and last 24 colors (a "best-fit-equivalent" function could be added some day, if there ever becomes a requirement for it -- see note 2 below).

Sourcemodule Color : sig ... end
Sourcemodule Attr : sig ... end
Sourcemodule With_all_attrs : sig ... end
Sourcemodule Stable : sig ... end