mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-27 13:01:13 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.32 to 4.5.34. <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.34</h2> <h2>[4.5.34] - 2025-03-27</h2> <h3>Fixes</h3> <ul> <li><em>(help)</em> Don't add extra blank lines with <code>flatten_help(true)</code> and subcommands without arguments</li> </ul> <h2>v4.5.33</h2> <h2>[4.5.33] - 2025-03-26</h2> <h3>Fixes</h3> <ul> <li><em>(error)</em> When showing the usage of a suggestion for an unknown argument, don't show the group</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.34] - 2025-03-27</h2> <h3>Fixes</h3> <ul> <li><em>(help)</em> Don't add extra blank lines with <code>flatten_help(true)</code> and subcommands without arguments</li> </ul> <h2>[4.5.33] - 2025-03-26</h2> <h3>Fixes</h3> <ul> <li><em>(error)</em> When showing the usage of a suggestion for an unknown argument, don't show the group</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="5d2cdac3e6
"><code>5d2cdac</code></a> chore: Release</li> <li><a href="f1c10ebe58
"><code>f1c10eb</code></a> docs: Update changelog</li> <li><a href="a4d1a7fe2b
"><code>a4d1a7f</code></a> chore(ci): Take a break from template updates</li> <li><a href="e95ed396c4
"><code>e95ed39</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5775">#5775</a> from vivienm/master</li> <li><a href="18f8d4c3f5
"><code>18f8d4c</code></a> chore(deps): Update Rust Stable to v1.82 (<a href="https://redirect.github.com/clap-rs/clap/issues/5788">#5788</a>)</li> <li><a href="f35d8e09fb
"><code>f35d8e0</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5787">#5787</a> from epage/template</li> <li><a href="1389d7d689
"><code>1389d7d</code></a> chore: Update from '_rust/main' template</li> <li><a href="dbc9faa79d
"><code>dbc9faa</code></a> chore(ci): Initialize git for template update</li> <li><a href="3dac2f3683
"><code>3dac2f3</code></a> chore(ci): Get history for template update</li> <li><a href="e1f77dacf1
"><code>e1f77da</code></a> chore(ci): Fix branch for template update</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.32...clap_complete-v4.5.34">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