tty-prompt v0.3.0 Release Notes
Release Date: 2015-12-28 // over 8 years ago-
➕ Added
- ➕ Add prefix option to prompt to customize #ask, #select, #multi_select
- ➕ Add default printing to #ask
- ➕ Add #yes?/#no? boolean queries
- ➕ Add Evaluator and Result for validation checking to Question
- ➕ Add ability for #ask to display error messages on failed validation
- ➕ Add ability to specify in-built names for validation e.i. :email
- ➕ Add KeyEvent for keyboard events publishing to Reader
- ➕ Add #read_multiline to Reader
- ➕ Add :convert option for ask configuration
- ➕ Add ability to specify custom proc converters
- ➕ Add #ask_keypress to gather character input
- ➕ Add #ask_multiline to gather multiline input
- ➕ Add MaskedQuestion & #mask method for masking input stream characters
🔄 Changed
- 🔄 Change Reader#read_keypress to be robust and read correctly byte sequences
- 🔄 Change Reader#getc to #read_line and extend arguments with echo option
- 🚚 Extract cursor movement to dependency tty-cursor
- 🔄 Change List & MultiList to subscribe to keyboard events
- 🔄 Change to move mode inside reader namespace
- ✂ Remove Response & Error objects
- ✂ Remove :char option from #ask
- 🔄 Change :read option to specify mode of reading out of :line, :multiline, :keypress
- 📇 Rename #confirm to #ok