Module Console
module type Io = Console__.Console_intf.Iomodule type S = Console__.Console_intf.Smodule Make : functor (Io : Io) -> S with type 'a io := 'a Io.t and type 'a io_fmt := 'a Io.fmt and type out_channel := Io.out_channelinclude S with type 'a S.io := 'a and type 'a S.io_fmt := ('a, Core.Out_channel.t, unit) Core.format and type S.out_channel := Core.Out_channel.t
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)