package textutils

  1. Overview
  2. Docs
Text output utilities

Install

Dune Dependency

Authors

Maintainers

Sources

textutils-v0.14.0.tar.gz
sha256=14a2f8393159fcc43bfac82d0100364dc874fee94447aced80ec8ae99e2949eb
md5=32980ca8c5c6128273bb6f662efc7c60

doc/textutils.ascii_table_kernel/Ascii_table_kernel/Screen/index.html

Module Ascii_table_kernel.Screen

type t

A Screen.t represents a table after all of the layout calculations have been done.

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.

OCaml

Innovation. Community. Security.