python-prompt-toolkit v2.0.9 Release Notes

Release Date: 2019-02-19 // 7 months ago
  • 🐛 Bug fixes:

    • Fixed Application.run_system_command on Windows.
    • 🛠 Fixed bug in ANSI text formatting: correctly handle 256/true color sequences.
    • 🛠 Fixed bug in WordCompleter. Provide completions when there's a space before the cursor.

Previous changes from v2.0.8

  • 🐛 Bug fixes:

    • 🛠 Fixes the issue where changes made to the buffer in the accept handler were not reflected in the history.
    • 🛠 Fix in the application invalidate handler. This prevents a significat slow down in some applications after some time (especially if there is a refresh interval).
    • 🖨 Make print_container utility work if the input is not a pty.

    🆕 New features:

    • Underline non breaking spaces instead of rendering as '&'.
    • ➕ Added mouse support for radio list.
    • 👌 Support completion styles for READLINE_LIKE display method.
    • Accept formatted text in the display text of completions.
    • ➕ Added a FuzzyCompleter and FuzzyWordCompleter.
    • 👌 Improved error handling in Application (avoid displaying a meaningless AssertionError in many cases).