package textutils

  1. Overview
  2. Docs
Text output utilities

Install

Dune Dependency

Authors

Maintainers

Sources

textutils-v0.16.0.tar.gz
sha256=7814aa3ce89fa18e48c41f4764336a99cbd4b761fcb46a9df73297923b57feb2

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.