π Bug fixes:
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.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:
cancel_callback in ProgressBar to specify the cancellation
behavior for when control-c is pressed.π New features:
name property in TextArea widget to Buffer.enable_cpr parameter to Vt100_Output, TelnetServer and
PromptToolkitSSHServer, to completely disable CPR support instead of
automatically detecting it.π New features:
print_formatted_text.has_suggestion filter.π Fixes:
renderer_print_formatted_text in a Jupyter Notebook.π New features:
π Fixes
handle_sigint from Application.run to Application.run_async.print_container utility (handle EOFError).π₯ Breaking changes:
create_pipe_input, PosixPipeInput and Win32PipeInput.π New features:
π Fixes:
π New features:
align attribute in Label widget.PlainTextOutput: an output implementation that doesn't render any
ANSI escape sequences. This will be used by default when redirecting stdout
to a file.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.to_plain_text utility for converting formatted text into plain text.π Fixes:
sys.stderr for output when sys.stdout is not a
TTY, but sys.stderr is. The previous behavior was confusing, especially
when rendering formatted text to the output, and we expect it to follow
redirection.π Fixes:
π Fixes:
DummyOutput when sys.stdout is None and DummyInput when
sys.stdin is None. This fixes an issue when the code runs on windows,
using pythonw.exe and still tries to interact with the terminal.Application._is_running flag in case of exceptions in some
situations.slow_duration_callback by default to 0.5. This
prevents printing warnings if rendering takes too long on slow systems.π Fixes:
PermissionError when trying to attach /dev/null in vt100 input.π Fixes:
π New features: