consoleversion Documentation on ocaml.org

Colours, tables, trees and progress rows for the terminal

Colours, tables, trees, panels, bars and progress rows for OCaml command-line tools. console prints styled text and widgets into the terminal's normal scrollback, shows the work a program runs as progress rows under that text and redraws only those rows. It never takes over the whole screen. The console.tty library decides colour and UTF-8 for the standard outputs from the terminal and the environment, with Unix alone. The console.text library makes untrusted text safe to print, console.input is a line editor that does no I/O, console.driver runs console on a scheduler, and console.cli gives a Cmdliner program --color and --theme options.

Tags command-line-utilities format
AuthorThomas Gazagnaire <thomas@gazagnaire.org>
LicenseISC
Published
Homepagehttps://github.com/samoht/ocaml-console
Issue Trackerhttps://github.com/samoht/ocaml-console/issues
MaintainerThomas Gazagnaire <thomas@gazagnaire.org>
Dependencies
Source [http] https://github.com/samoht/ocaml-console/releases/download/0.10.1/console-0.10.1.tbz
sha256=37ad65f6833c65814b0673f009f6b656c5194608ca03519da2e63e1051d54f6e
sha512=7677067f1a3244779cdbc5c90a8b0e1eba30c3fd58281584ea3d4c46c3e219eef0668588ca0e2938799c61a3fa831ce2146eac73717214d7baf96b497bfcd892
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/console/console.0.10.1/opam
Required by