package console-eio

  1. Overview
  2. No Docs
Eio backend for console

Install

dune-project
 Dependency

Authors

Maintainers

Sources

console-0.9.0.tbz
sha256=1c6851dbc38514bf717da9bbe9cddda3c2958b215f934dee69324f1ec243873f
sha512=71bd51d2cbaf945ae153e863c2de189b32f3049c750131cc32e96e43759e4d8b62f9bf8863ff2e80429d56d32209573b85d3da9e0d67ad52bb1106b4c763070f

Description

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

Added to opam-repository:

Dependencies (7)

  1. logs
  2. fmt
  3. mtime >= "2.0.0"
  4. eio >= "1.4"
  5. console = version
  6. ocaml >= "5.4"
  7. dune >= "3.21"

Dev Dependencies (11)

  1. odoc with-doc
  2. k7 with-test
  3. bytesrw with-test
  4. jsont with-test
  5. alcobar with-test & >= "0.3.2"
  6. eio_main with-test
  7. cstruct with-test
  8. cmdliner with-test
  9. mdx with-test
  10. astring with-test
  11. alcotest with-test & >= "1.7.0"

Used by

None

Conflicts

None