package printbox

  1. Overview
  2. Docs
Allows to print nested boxes, lists, arrays, tables in several formats

Install

Dune Dependency

Authors

Maintainers

Sources

printbox-0.3.tbz
sha256=7dda76f4f9de0eb4fe08acb363c337a26b3c1b5b03dfa1d7a26c9b0c3f463309
sha512=a3532ed203a1aaeae4767546cfdbaeb5f171e6a737b439dfa9186538a22b5cae716a73ae91b381bf2b46de38a9d0926a992b0c70c7fba183745e50654f1a3872

doc/CHANGELOG.html

Changes

0.3

  • improve code readability in text rendering
  • add align and center
  • add basic styling for text (ansi codes/html styles)
  • add printbox_unicode for setting up proper unicode printing
  • add grid_l, grid_text_l, and record helpers
  • use a more accurate length estimate for unicode, add test
  • remove mdx as a test dep
  • fix rendering bugs related to align right, and padding

0.2

  • make the box type opaque, with a view function
  • require OCaml 4.03
  • add PrintBox_text.pp
  • expose a few new functions to build boxes
  • change Text type, work on string slices when rendering
  • automatic testing using dune and mdx
  • migrate to dune and opam 2

0.1

initial release

OCaml

Innovation. Community. Security.

On This Page
  1. 0.3
  2. 0.2
  3. 0.1