go-prompt v0.2.3 Release Notes

Release Date: 2018-10-25 // over 3 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.