Closed dependabot[bot] closed 2 months ago
Any chance to get this merged and create a new release? 😊
I'll update crossterm and release new version.
I released v0.5.1.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore
condition with the desired update_types
to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Awesome, thank you!
Also, do you mind if I ask a question? Because something wasn't quite clear in the documentation.
Why does the rgb
and theme
methods take a timeout
parameter? And most importantly, is it blocking the current thread? I will update my usage based on that 🐻
This crate decides theme based on the response to a special control sequence.
If a terminal doesn't support the control sequence, there is no response.
So rgb
and theme
will wait infinitly on these terminal if there is not timeout.
rgb
and theme
block current thread until the timeout at the longest.
Got it, thanks for the explanation. Now I also wonder what terminal-light
(which is another crate I discovered recently) is doing differently since there is not timeout 🤔
Okay, I see, it's written in the downsides:
waiting for stdin with a timeout isn't implemented on Windows in this crate (help welcome)
this isn't instant, a delay of 10 ms to get the answer isn't unusual
if a not compatible terminal doesn't answer at all, we're waiting for 20ms
it may fail on some terminal multiplexers
Updates the requirements on crossterm to permit the latest version.
Changelog
Sourced from crossterm's changelog.
... (truncated)
Commits
5d50d8d
Minor upgrade to crossterm 0.28 (#898)25e1478
Fix some comments (#899)33b4e37
Fix duplicate bit masks for caps lock and num lock (#863)61ff5ae
docs: update docs for focus change event (#784) (#864)080f064
Improve color detection across platforms (#885)fe44028
Use rustix instead of libc (additive only approach) (#892)be8cb8c
fix: remove extra command (#894)fce58c8
fix: broken build issues (#888)6d20946
Mark alacritty as supporting kitty protocol (#851)6fde554
Remove unsafe and unnecessarysize
argument fromFileDesc::read()
(#821)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | crossterm | [>= 0.22.a, < 0.23] |You can trigger a rebase of this PR 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 show