Fixes issue introduced in 3.0.25: Don't handle SIGINT on Windows.
3.0.25: 2022-01-27
Fixes:
Use 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.
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.
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.24 to 3.0.26.
Changelog
Sourced from prompt-toolkit's changelog.
Commits
d6c367b
Release 3.0.26981c98b
Don't attempt to handle SIGINT on Windows.3c4b1d4
Release 3.0.25f3aef4a
Use DummyInput on Windows when running under pythonw.exe.6e7449a
Increase event loop slow_duration_callback.d1eb30e
Correctly resetApplication._is_running
flag in case of runtime errors.0ccec5d
Handle SIGINT (when sent from another process) and allow binding it to a key ...1c2e176
Use DummyOutput when sys.stdout is None.974652a
Fix mypy errors (#1542)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)