All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support ctrl-h for backspace
- Allow hiding entered data after submit
- Allow masking input with an empty rune to hide input length
- Fix echo of cursor after input is finished
- Better support for keycodes on Windows
- Add support for configurable Stdin/Stdout on Prompt
- Add support for setting initial cursor position
- Switch to golangci-lint for linting
- Removed support for Go 1.11
- Reduce tool-based deps, hopefully fixing any install issues
- Support configurable stdin
- Correct the dep on go-i18n
- Now building and testing on go 1.11, go 1.12, and go 1.13
- Removed support for Go versions that don't include modules.
- The text displayed when an item was successfully selected can be hidden
- Support Go modules
- Fix typos in PromptTemplates documentation
- Improved documentation for GoDoc
- Navigation keys information for Windows
success
template was not properly displayed after a successful prompt.
- Background colors codes and template helpers
AllowEdit
for prompt to prevent deletion of the default value by any key- Added
StartInSearchMode
to allow starting the prompt in search mode
<Enter>
key press on Windowsjuju/ansiterm
dependencychzyer/readline#136
new api with ReadCloser- Deleting UTF-8 characters sequence
SelectWithAdd
panicking on.Run
due to lack of keys setup- Backspace key on Windows
Select
items can now be searched
- extract
promptui
from torus as a standalone lib. promptui.Prompt
provides a single input line to capture user information.promptui.Select
provides a list of options to choose from. Users can navigate through the list either one item at time or by pagination