package textutils

  1. Overview
  2. Docs
Text output utilities

Install

Dune Dependency

Authors

Maintainers

Sources

textutils-v0.15.0.tar.gz
sha256=c0368fb6ad18727cd69fbfb20dd734fb7f7189707107d1f88d8de15837dc22df

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.