Module Ascii_table_kernel.Screen
val render : t -> bars:[ `Ascii | `Unicode ] -> output:(Attr.t list -> Core_kernel.Buffer.t -> unit) -> close:(Core_kernel.Buffer.t -> 'a) -> 'a
val to_string : t -> bars:[ `Ascii | `Unicode ] -> string_with_attr:(Attr.t list -> string -> string) -> string
Given a way to annotate strings with attributes, a
t
can be output to a string.