go-prompt/CHANGELOG.md

2.2 KiB

Change Log

v0.2.2 (2018/??/??)

What's new?

  • 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.
  • Add SetDisplayAttributes in ConsoleWriter for flexible customizing display attributes.

Fixed

Removed or Deprecated

  • SetColor method in ConsoleWriter is deprecated. Please use SetDisplayAttributes instead.
  • prompt.Choose shortcut function is deprecated.

v0.2.1 (2018/02/14)

What's New?

  • 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.

Fixed

  • Fix a Shift+Tab handling on Windows.
  • Fix 4-dimension arrow keys handling on Windows.

v0.2.0 (2018/02/13)

What's New?

  • 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.

Fixed

  • 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).

News

New core developers are joined (alphabetical order).

  • Nao Yonashiro (Github @orisano)
  • Ryoma Abe (Github @Allajah)
  • Yusuke Nakamura (Github @unasuke)

v0.1.0 (2017/08/15)

Initial Release