package textutils

  1. Overview
  2. Docs
Text output utilities

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=b2681af1f4029245a5c187c4f0834ac470ada6ffc69db7c7e219b3244f88b3d5

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

Module Ascii_table_kernel.ScreenSource

Sourcetype t

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

Sourceval render : t -> bars:[ `Ascii | `Unicode ] -> output:(Attr.t list -> Core.Buffer.t -> unit) -> close:(Core.Buffer.t -> 'a) -> 'a
Sourceval 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.