Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
color.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
type color = | Black | Red | Green | Yellow | Blue | Magenta | Cyan | White | Grey | Default | Reset let color_to_string color = match color with | Black -> "\027[30m" | Red -> "\027[31m" | Green -> "\027[32m" | Yellow -> "\027[33m" | Blue -> "\027[34m" | Magenta -> "\027[35m" | Cyan -> "\027[36m" | White -> "\027[37m" | Grey -> "\027[90m" | Default -> "\027[39m" | Reset -> "\027[0m"