python-prompt-toolkit v3.0.21 Release Notes

Release Date: 2021-10-21 // 5 days ago
  • ๐Ÿ†• New features:

    • ๐Ÿ‘Œ Improved mouse support:
      • Support for click-drag, which is useful for selecting text.
      • Detect mouse movements when no button is pressed.
    • ๐Ÿ‘Œ Support for Python 3.10.

Previous changes from v3.0.20

  • ๐Ÿ†• New features:

    • โž• Add support for strikethrough text attributes.
    • Set up custom breakpointhook while an application is running (if no other breakpointhook was installed). This enhances the usage of PDB for debugging applications.
    • Strict type checking is now enabled.

    ๐Ÿ›  Fixes:

    • Ensure that print_formatted_text is always printed above the running application, like patch_stdout. (Before, patch_stdout was even completely ignored in case of `print_formatted_text, so there was no proper way to use it in a running application.)
    • ๐Ÿ›  Fix handling of non-bmp unicode input on Windows.
    • Set minimum Python version to 3.6.2 (Some 3.6.2 features were used).