python-prompt-toolkit v3.0.32 Release Notes

Release Date: 2022-11-03 // over 1 year ago
  • ๐Ÿ› Bug fixes:

    • 0๏ธโƒฃ Use DummyInput by default in create_input() if sys.stdin does not have a valid file descriptor. This fixes errors when sys.stdin is patched in certain situations.
    • ๐Ÿ›  Fix control-c key binding for ProgressBar when the progress bar was not created from the main thread. The current code would try to kill the main thread when control-c was pressed.

    ๐Ÿ†• New features:

    • Accept a cancel_callback in ProgressBar to specify the cancellation behavior for when control-c is pressed.
    • ๐ŸŽ Small performance improvement in the renderer.

Previous changes from v3.0.31

  • ๐Ÿ†• New features:

    • Pass through name property in TextArea widget to Buffer.
    • Added a enable_cpr parameter to Vt100_Output, TelnetServer and PromptToolkitSSHServer, to completely disable CPR support instead of automatically detecting it.