- Fix an issue with terminal scroll down.
- Fix an issue with unsupported ANSI sequences for cursor save/restore.
- 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.
- Stripped out
lambda-term
dependency - Removed
lwt
integration
- Vendored lambda-term to fix dependency on Camomile assets
- Changed the Make functor to take a module with functions
make_prompt
,make_error
andmake_select
. - Changed
raw_list
toraw_select
.
- Add
select
prompt. - Support default values for all prompts.
- Support validate functions for
password
andinput
prompts.
- Add
confirm
prompt. - Add
input
prompt. - Add
password
prompt. - Add
raw_list
prompt.