go-prompt v0.2.3 Release Notes

Release Date: 2018-10-25 // over 5 years ago
  • What's new?

    • โž• Add prompt.FuzzyFilter for fuzzy matching at #92.
    • โž• Add OptionShowCompletionAtStart to show completion at start at #100.
    • โž• Add prompt.NewStderrWriter at #102.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  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).

    โœ‚ Removed or Deprecated

    • ๐Ÿ—„ prompt.NewStandardOutputWriter is deprecated. Please use prompt.NewStdoutWriter.

Previous changes from v0.2.2

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

    โœ‚ Removed or Deprecated

    • ๐Ÿ—„ prompt.Choose shortcut function is deprecated.