python-prompt-toolkit v3.0.25 Release Notes
Release Date: 2022-01-27 // about 2 years ago-
๐ Fixes:
- ๐ Use
DummyOutput
whensys.stdout
isNone
andDummyInput
whensys.stdin
isNone
. This fixes an issue when the code runs on windows, using pythonw.exe and still tries to interact with the terminal. - Correctly reset
Application._is_running
flag in case of exceptions in some situations. - ๐ Handle SIGINT (when sent from another process) and allow binding it to a key binding. For prompt sessions, the behavior is now identical to pressing control-c.
- Increase the event loop
slow_duration_callback
by default to 0.5. This prevents printing warnings if rendering takes too long on slow systems.
- ๐ Use