python-prompt-toolkit v3.0.8 Release Notes
Release Date: 2020-10-12 // 5 months ago-
๐ New features:
- โ Added
validator
parameter toinput_dialog
.
๐ Fixes:
- Cope with stdout not having a working
fileno
. - ๐ Handle situation when /dev/null is piped into stdin, or when stdin is closed somehow.
- ๐ Fix for telnet/ssh server:
isatty
method was not implemented. - Display correct error when a tuple is passed into
to_formatted_text
. - Pass along WORD parameter in
Document._is_word_before_cursor_complete
. Fixes some key bindings. - ๐ฆ Expose
ProgressBarCounter
in shortcuts module.
- โ Added
Previous changes from v3.0.7
-
๐ New features:
- ๐ New "placeholder" parameter added to
PromptSession
.
Other changes:
- ๐ The "respond to CPR" logic has been moved from the
Input
toOutput
classes (this does clean up some code).
๐ Fixes:
- ๐ Bugfix in shift-selection key bindings.
- ๐ Fix hight calculation of
FormattedTextControl
when line wrapping is turned on. - ๐ Fixes for SSH server:
- Missing encoding property.
- Fix failure in "set_line_mode" call.
- Handle
BrokenPipeError
.
- ๐ New "placeholder" parameter added to