mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-27 04:50:46 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.28 to 4.5.29. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.5.29</h2> <h2>[4.5.29] - 2025-02-11</h2> <h3>Fixes</h3> <ul> <li>Change <code>ArgMatches::args_present</code> so not-present flags are considered not-present (matching the documentation)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.5.29] - 2025-02-11</h2> <h3>Fixes</h3> <ul> <li>Change <code>ArgMatches::args_present</code> so not-present flags are considered not-present (matching the documentation)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="1f74b0178d
"><code>1f74b01</code></a> chore: Release</li> <li><a href="23feee1c13
"><code>23feee1</code></a> docs: Update changelog</li> <li><a href="ae1457b34a
"><code>ae1457b</code></a> chore(complete): Update require clap</li> <li><a href="0d142f6c04
"><code>0d142f6</code></a> chore: Release</li> <li><a href="0facf1f370
"><code>0facf1f</code></a> docs: Update changelog</li> <li><a href="ee6af99c6c
"><code>ee6af99</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5743">#5743</a> from epage/sort</li> <li><a href="232ee10661
"><code>232ee10</code></a> fix(complete): Use existing display order for Arg/Command</li> <li><a href="c6b5d627a0
"><code>c6b5d62</code></a> feat(builder): Expose get_display_order</li> <li><a href="67d9fef9ce
"><code>67d9fef</code></a> feat(complete): Give control over display order</li> <li><a href="59a61e188f
"><code>59a61e1</code></a> refactor(complete): Pull out common candidate code</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.28...clap_complete-v4.5.29">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Demo example
This is the original demo that was developed for Tui-rs (the library that Ratatui was forked from).
This example is available for each backend. To run it:
crossterm
cargo run -p demo
termion
cargo run -p demo --no-default-features --features termion
termwiz
cargo run -p demo --no-default-features --features termwiz