Use 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.
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 in ProgressBar to specify the cancellation
behavior for when control-c is pressed.
Small performance improvement in the renderer.
3.0.31: 2022-09-02
New features:
Pass through name property in TextArea widget to Buffer.
Added a enable_cpr parameter to Vt100_Output, TelnetServer and
PromptToolkitSSHServer, to completely disable CPR support instead of
automatically detecting it.
3.0.30: 2022-06-27
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 '^^'
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.
3.0.29: 2022-04-04
New features:
Accept 'handle_sigint' parameter in PromptSession.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps prompt-toolkit from 3.0.28 to 3.0.32.
Changelog
Sourced from prompt-toolkit's changelog.
... (truncated)
Commits
9a2a550
Release 3.0.32b76fa59
Fix control-c key binding for progressbar when created in other thread + canc...dcff850
Removed several unused type:ignore comments.c244354
Use DummyInput by default in create_input() if sys.stdin does not have a vali...5a60e67
get_max_column_index(): use generator to replace list291a1ee
remove unused variable7146704
Update asking_for_input.rst5e11c13
Release 3.0.31783d8a9
Fixed bug:enable_cpr
should be True by default.2d4e7e8
Added enable_cpr parameter to Vt100_Output, TelnetServer and PromptToolkitSSH...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)