next release.
- Add
prompt.FuzzyFilter
for fuzzy matching at #92. - Add
OptionShowCompletionAtStart
to show completion at start at #100. - Add
prompt.NewStderrWriter
at #102.
- Fix resetting display attributes (please see pull #104 for more details).
- Fix error handling of Flush function in ConsoleWriter (please see pull #97 for more details).
- Fix panic problem when reading from stdin before starting the prompt (please see issue #88 for more details).
prompt.NewStandardOutputWriter
is deprecated. Please useprompt.NewStdoutWriter
.
- Support CJK(Chinese, Japanese and Korean) and Cyrillic characters.
- Add OptionCompletionWordSeparator(x string) to customize insertion points for completions.
- To support this, text query functions by arbitrary word separator are added in Document (please see here for more details).
- Add FilePathCompleter to complete file path on your system.
- Add option to customize ascii code key bindings.
- Add GetWordAfterCursor method in Document.
- prompt.Choose shortcut function is deprecated.
It seems that windows support is almost perfect.- A critical bug is found :( When you change a terminal window size, the layout will be broken because current implementation cannot catch signal for updating window size on Windows.
- Fix a Shift+Tab handling on Windows.
- Fix 4-dimension arrow keys handling on Windows.
- Supports scrollbar when there are too many matched suggestions
- Windows support (but please caution because this is still not perfect).
- Add OptionLivePrefix to update the prefix dynamically
- Implement clear screen by
Ctrl+L
.
- Fix the behavior of
Ctrl+W
keybind. - Fix the panic because when running on a docker container (please see here for details).
- Fix panic when making terminal window small size after input 2 lines of texts. See here for details).
- And also fixed many bugs that layout is broken when using Terminal.app, GNU Terminal and a Goland(IntelliJ).
New core developers are joined (alphabetical order).
- Nao Yonashiro (Github @orisano)
- Ryoma Abe (Github @Allajah)
- Yusuke Nakamura (Github @unasuke)
Initial Release