package inquire

  1. Overview
  2. Docs
Create beautiful interactive command line interface in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

inquire-0.3.1.tbz
sha256=2c7e102ded89e9244a817426db1e5bed64cf1ae9ef34ae75c7ddb67c2221d1ab
sha512=39130ab872c1630b630bbd4391864d35d641d44f04a090b9a35210057029b75547dcf66e792b14edc2df191aa37408cba3a502fa6e27e5be1eca73e2b98a60e1

CHANGES.md.html

0.3.1 - 2021-06-04

Fixed

  • Fix an issue with terminal scroll down.

  • Fix an issue with unsupported ANSI sequences for cursor save/restore.

0.3.0 - 2021-05-17

Added

  • Improved all prompts prompt to handle escape sequences (e.g. "Ctrl-L" will clear the screen while reading from answer).

  • Improved select to allow selection using indexes.

  • Improved prompts to clear defaults and other tooltip on a valid answer and print the answer after the prompt.

Changed

  • Stripped out lambda-term dependency

  • Removed lwt integration

0.2.1 - 2020-10-04

Changed

  • Vendored lambda-term to fix dependency on Camomile assets

0.2.0 - 2020-05-08

Changed

  • Changed the Make functor to take a module with functions make_prompt, make_error and make_select.

  • Changed raw_list to raw_select.

Added

  • Add select prompt.

  • Support default values for all prompts.

  • Support validate functions for password and input prompts.

0.1.0 - 2020-02-12

Added

  • Add confirm prompt.

  • Add input prompt.

  • Add password prompt.

  • Add raw_list prompt.

OCaml

Innovation. Community. Security.