Console.Makemodule Io : sig ... endinclude S
with type 'a io := 'a Io.t
and type 'a io_fmt := 'a Io.fmt
and type out_channel := Io.out_channelmodule Ansi : sig ... endHandling of ansi codes.
val is_color_tty : unit -> bool Io.tval width : unit -> [ `Cols of int | `Not_a_tty | `Not_available ] Io.tThe width in characters of the current output. Returns `Not_a_tty if stdout is not connected to a tty.
val print_list : Io.out_channel -> (string * Ansi.attr list) list -> unit Io.tprint a list in a columnize way (like the output of ls)