Module Console.Make
Parameters
Signature
module Ansi : sig ... endHandling of ansi codes.
val is_color_tty : unit -> bool ioval width : unit -> [ `Cols of int | `Not_a_tty | `Not_available ] ioThe width in characters of the current output. Returns
`Not_a_ttyif stdout is not connected to a tty.
val print_list : out_channel -> (string * Ansi.attr list) list -> unit ioprint a list in a columnize way (like the output of ls)