console-eioversion Documentation on ocaml.org

Eio backend for console

Runs console's progress rows with Eio. It finds whether the output is a terminal and its size, redraws the rows, shows the program's output and its Logs messages under the task that printed them, and gives the terminal back when the run ends, when the program exits and on SIGINT or SIGTERM. On a pipe or in CI each task prints lines instead, or JSON events on request. It also asks for a line, a yes or no or a password on the terminal, and reads keys as they are typed.

Tags command-line-utilities format eio
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-eio/console-eio.0.10.1/opam
No package is dependent