All Versions
98
Latest Version
Avg Release Cycle
29 days
Latest Release
144 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.0.32 Changes
November 03, 2022๐ Bug fixes:
- 0๏ธโฃ Use
DummyInput
by default increate_input()
ifsys.stdin
does not have a valid file descriptor. This fixes errors whensys.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
inProgressBar
to specify the cancellation behavior for whencontrol-c
is pressed. - ๐ Small performance improvement in the renderer.
- 0๏ธโฃ Use
-
v3.0.31 Changes
September 02, 2022๐ New features:
- Pass through
name
property inTextArea
widget toBuffer
. - Added a
enable_cpr
parameter toVt100_Output
,TelnetServer
andPromptToolkitSSHServer
, 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_suggestion
filter.
๐ 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_text
in 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_sigint
fromApplication.run
toApplication.run_async
. - ๐ Fix detection of telnet client side changes.
- ๐ Fix
print_container
utility (handleEOFError
).
๐ฅ Breaking changes:
- The following are now context managers:
create_pipe_input
,PosixPipeInput
andWin32PipeInput
.
-
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
align
attribute inLabel
widget. - โ 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_text
utility for converting formatted text into plain text.
๐ Fixes:
- Don't automatically use
sys.stderr
for output whensys.stdout
is not a TTY, butsys.stderr
is. 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
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
-
v3.0.24 Changes
December 09, 2021๐ Fixes:
- Prevent window content overflowing when using scrollbars.
- ๐ Handle
PermissionError
when 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.