All Versions
98
Latest Version
Avg Release Cycle
29 days
Latest Release
1159 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.0.32 Changes
November 03, 2022🐛 Bug fixes:
- 0️⃣ Use
DummyInputby default increate_input()ifsys.stdindoes not have a valid file descriptor. This fixes errors whensys.stdinis patched in certain situations. - 🛠 Fix control-c key binding for
ProgressBarwhen 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_callbackinProgressBarto specify the cancellation behavior for whencontrol-cis pressed. - 🐎 Small performance improvement in the renderer.
- 0️⃣ Use
-
v3.0.31 Changes
September 02, 2022🆕 New features:
- Pass through
nameproperty inTextAreawidget toBuffer. - Added a
enable_cprparameter toVt100_Output,TelnetServerandPromptToolkitSSHServer, to completely disable CPR support instead of automatically detecting it.
- Pass through
-
v3.0.30 Changes
June 27, 2022🆕 New features:
- Allow zero-width-escape sequences in
print_formatted_text. - ➕ Add default value option for input dialog.
- ➕ Added
has_suggestionfilter.
🛠 Fixes:
- 🛠 Fix rendering of control-shift-6 (or control-). Render as ''
- 0️⃣ Always wrap lines in the Label widget by default.
- 🛠 Fix enter key binding in system toolbar in Vi mode.
- 👌 Improved handling of stdout objects that don't have a 'buffer' attribute. For
instance, when using
renderer_print_formatted_textin a Jupyter Notebook.
- Allow zero-width-escape sequences in
-
v3.0.29 Changes
April 04, 2022🆕 New features:
- Accept 'handle_sigint' parameter in PromptSession.
🛠 Fixes
- 🛠 Fix 'variable referenced before assignment' error in vt100 mouse bindings.
- Pass
handle_sigintfromApplication.runtoApplication.run_async. - 🛠 Fix detection of telnet client side changes.
- 🛠 Fix
print_containerutility (handleEOFError).
💥 Breaking changes:
- The following are now context managers:
create_pipe_input,PosixPipeInputandWin32PipeInput.
-
v3.0.28 Changes
February 11, 2022🆕 New features:
- 👌 Support format specifiers for HTML and ANSI formatted text.
- 🔊 Accept defaults for checkbox and radio list, and their corresponding dialogs.
🛠 Fixes:
- 🛠 Fix resetting of cursor shape after the application terminates.
-
v3.0.27 Changes
February 07, 2022🆕 New features:
- 👌 Support for cursor shapes. The cursor shape for prompts/applications can now be configured, either as a fixed cursor shape, or in case of Vi input mode, according to the current input mode.
- 🖐 Handle "cursor forward" command in ANSI formatted text. This makes it possible to render many kinds of generated ANSI art.
- Accept
alignattribute inLabelwidget. - ➕ Added
PlainTextOutput: an output implementation that doesn't render any ANSI escape sequences. This will be used by default when redirecting stdout to a file. - Added
create_app_session_from_tty: a context manager that enforces input/output to go to the current TTY, even if stdin/stdout are attached to pipes. - Added
to_plain_textutility for converting formatted text into plain text.
🛠 Fixes:
- Don't automatically use
sys.stderrfor output whensys.stdoutis not a TTY, butsys.stderris. The previous behavior was confusing, especially when rendering formatted text to the output, and we expect it to follow redirection.
-
v3.0.26 Changes
January 27, 2022🛠 Fixes:
- 🛠 Fixes issue introduced in 3.0.25: Don't handle SIGINT on Windows.
-
v3.0.25 Changes
January 27, 2022🛠 Fixes:
- 👉 Use
DummyOutputwhensys.stdoutisNoneandDummyInputwhensys.stdinisNone. 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_runningflag 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_callbackby default to 0.5. This prevents printing warnings if rendering takes too long on slow systems.
- 👉 Use
-
v3.0.24 Changes
December 09, 2021🛠 Fixes:
- Prevent window content overflowing when using scrollbars.
- 🖐 Handle
PermissionErrorwhen trying to attach /dev/null in vt100 input.
-
v3.0.23 Changes
November 26, 2021🛠 Fixes:
- 🛠 Fix multiline bracketed paste on Windows
🆕 New features:
- ➕ Add support for some CSI 27 modified variants of "Enter" for xterm in the vt100 input parser.