A Rust crate for cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 https://ratatui.rs
Find a file
dependabot[bot] 32e2111bc8
build(deps): bump zizmorcore/zizmor-action from 0.5.2 to 0.5.3 (#2503)
Bumps
[zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action)
from 0.5.2 to 0.5.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zizmorcore/zizmor-action/releases">zizmorcore/zizmor-action's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.3</h2>
<h2>What's Changed</h2>
<ul>
<li><code>1.24.0</code> and <code>1.24.1</code> are now available via
the action</li>
<li><code>1.24.1</code> is now the default version of zizmor used by the
action</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/zizmorcore/zizmor-action/compare/v0.5.2...v0.5.3">https://github.com/zizmorcore/zizmor-action/compare/v0.5.2...v0.5.3</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b1d7e1fb5d"><code>b1d7e1f</code></a>
Sync zizmor versions (<a
href="https://redirect.github.com/zizmorcore/zizmor-action/issues/102">#102</a>)</li>
<li><a
href="a195b57475"><code>a195b57</code></a>
Sync zizmor versions (<a
href="https://redirect.github.com/zizmorcore/zizmor-action/issues/100">#100</a>)</li>
<li><a
href="629d5d01fe"><code>629d5d0</code></a>
chore(deps): bump github/codeql-action in the github-actions group (<a
href="https://redirect.github.com/zizmorcore/zizmor-action/issues/99">#99</a>)</li>
<li><a
href="453d591467"><code>453d591</code></a>
chore(deps): bump the github-actions group with 2 updates (<a
href="https://redirect.github.com/zizmorcore/zizmor-action/issues/98">#98</a>)</li>
<li><a
href="ea2c18b942"><code>ea2c18b</code></a>
Bump pins (<a
href="https://redirect.github.com/zizmorcore/zizmor-action/issues/97">#97</a>)</li>
<li>See full diff in <a
href="71321a20a9...b1d7e1fb5d">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zizmorcore/zizmor-action&package-manager=github_actions&previous-version=0.5.2&new-version=0.5.3)](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 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>
2026-04-20 22:01:44 +03:00
.cargo chore(ci): replace cargo-make with a custom cargo-xtask (#1461) 2024-11-02 10:03:44 +03:00
.github build(deps): bump zizmorcore/zizmor-action from 0.5.2 to 0.5.3 (#2503) 2026-04-20 22:01:44 +03:00
assets chore: add svg logo asset (#1967) 2025-07-12 17:24:38 -07:00
examples chore(markdown): fix linting issues reported by xtask lint (#2435) 2026-03-13 21:40:34 +03:00
ratatui docs(terminal): improve terminal and setup docs for app authors (#2461) 2026-04-17 22:19:41 +03:00
ratatui-core docs(terminal): improve terminal and setup docs for app authors (#2461) 2026-04-17 22:19:41 +03:00
ratatui-crossterm docs(terminal): improve terminal and setup docs for app authors (#2461) 2026-04-17 22:19:41 +03:00
ratatui-macros chore(ratatui): unleash the rats v0.30.0 (#2294) 2025-12-26 12:41:00 +03:00
ratatui-termion docs(terminal): improve terminal and setup docs for app authors (#2461) 2026-04-17 22:19:41 +03:00
ratatui-termwiz docs(terminal): improve terminal and setup docs for app authors (#2461) 2026-04-17 22:19:41 +03:00
ratatui-widgets fix(block): saturate block edge arithmetic (#2488) 2026-04-17 12:36:08 -07:00
xtask feat(crossterm): allow multiple crossterm versions (#1841) 2025-08-17 12:43:18 -07:00
.cliffignore chore: release beta (#2162) 2025-11-01 02:22:55 +03:00
.cz.toml ci: refactor xtask / toml formatting (#1602) 2025-01-14 14:20:05 -08:00
.editorconfig chore(editorconfig): set and apply some defaults (#974) 2024-03-03 21:41:19 -08:00
.gitignore chore(gitignore): add .env to .gitignore (#1949) 2025-06-27 08:15:44 +03:00
.markdownlint.yaml feat(examples): add demo2 example (#500) 2023-09-21 01:47:23 -07:00
.taplo.toml ci: refactor xtask / toml formatting (#1602) 2025-01-14 14:20:05 -08:00
ARCHITECTURE.md docs: add crate organization sections to workspace (#1946) 2025-06-26 15:36:00 -07:00
bacon.toml ci: audit github workflows with zizmor (#1961) 2025-07-02 14:51:41 -07:00
BREAKING-CHANGES.md chore(markdown): fix linting issues reported by xtask lint (#2435) 2026-03-13 21:40:34 +03:00
Cargo.lock build(deps): bump clap from 4.6.0 to 4.6.1 (#2505) 2026-04-20 22:00:42 +03:00
Cargo.toml build(deps): bump lru from 0.16.3 to 0.17.0 (#2509) 2026-04-20 21:56:43 +03:00
CHANGELOG.md chore: Escape usernames in changelog with backticks (#2377) 2026-01-30 14:48:44 -05:00
cliff.toml chore(changelog): align cliff.toml with Keep a Changelog (#2394) 2026-02-14 17:08:37 +03:00
clippy.toml chore(build): remove cargo lint (#1549) 2024-12-05 21:35:06 +03:00
CODE_OF_CONDUCT.md chore(markdown): fix linting issues reported by xtask lint (#2435) 2026-03-13 21:40:34 +03:00
codecov.yml ci(codecov): adjust threshold and noise settings (#615) 2023-11-05 10:21:11 +01:00
committed.toml style(config): apply formatting to config files (#238) 2023-06-11 20:26:45 +00:00
CONTRIBUTING.md chore(markdown): fix linting issues reported by xtask lint (#2435) 2026-03-13 21:40:34 +03:00
deny.toml chore: remove OpenSSL license (#1942) 2025-06-25 21:59:26 -07:00
FUNDING.json chore(funding): add eth address for receiving funds from drips.network (#994) 2024-03-27 18:11:26 +03:00
LICENSE docs(license): update copyright years (#1639) 2025-02-04 11:18:02 +03:00
MAINTAINERS.md chore: update maintainers (#2122) 2025-10-05 12:07:06 -07:00
README.md docs: use shields.io badge (#2040) 2025-08-04 17:32:32 -07:00
release-plz.toml chore: remove @ sign from github release and PR (#2353) 2026-01-17 12:10:59 +03:00
RELEASE.md docs(release): fix typo (#1754) 2025-04-03 21:51:03 +03:00
rust-toolchain.toml chore: Create rust-toolchain.toml (#415) 2023-08-19 03:51:53 +00:00
rustfmt.toml chore: document rustfmt options (#2055) 2025-09-01 18:48:09 +03:00
SECURITY.md chore: rename ratatui-org to ratatui (#1334) 2024-08-21 11:35:08 -07:00
typos.toml build(deps): bump crate-ci/typos from 1.42.2 to 1.43.0 (#2380) 2026-02-03 19:18:02 +03:00

Table of Contents

Release header

Ratatui (ˌræ.təˈtu.i) is a Rust crate for cooking up terminal user interfaces (TUIs). It provides a simple and flexible way to create text-based user interfaces in the terminal, which can be used for command-line applications, dashboards, and other interactive console programs.

Quickstart

Ratatui has templates available to help you get started quickly. You can use the cargo-generate command to create a new project with Ratatui:

cargo install --locked cargo-generate
cargo generate ratatui/templates

Selecting the Hello World template produces the following application:

use color_eyre::Result;
use crossterm::event::{self, Event};
use ratatui::{DefaultTerminal, Frame};

fn main() -> Result<()> {
    color_eyre::install()?;
    let terminal = ratatui::init();
    let result = run(terminal);
    ratatui::restore();
    result
}

fn run(mut terminal: DefaultTerminal) -> Result<()> {
    loop {
        terminal.draw(render)?;
        if matches!(event::read()?, Event::Key(_)) {
            break Ok(());
        }
    }
}

fn render(frame: &mut Frame) {
    frame.render_widget("hello world", frame.area());
}

Documentation

You can also watch the EuroRust 2024 talk to learn about common concepts in Ratatui and what's possible to build with it.

Templates

If you're looking to get started quickly, you can use one of the available templates from the templates repository using cargo-generate:

cargo generate ratatui/templates

Built with Ratatui

Awesome

Check out the showcase section of the website, or the awesome-ratatui repository for a curated list of awesome apps and libraries built with Ratatui!

Alternatives

  • Cursive - a ncurses-based TUI library.
  • iocraft - a declarative TUI library.

Contributing

Discord Badge Matrix Badge Forum Badge

Feel free to join our Discord server for discussions and questions! There is also a Matrix bridge available at #ratatui:matrix.org. We have also recently launched the Ratatui Forum.

We rely on GitHub for bugs and feature requests.

Please make sure you read the contributing guidelines before creating a pull request. We accept AI generated code, but please read the AI Contributions guidelines to ensure compliance.

If you'd like to show your support, you can add the Ratatui badge to your project's README:

[![Built With Ratatui](https://img.shields.io/badge/Built_With_Ratatui-000?logo=ratatui&logoColor=fff)](https://ratatui.rs/)

Built With Ratatui

Acknowledgements

Ratatui was forked from the tui-rs crate in 2023 in order to continue its development. None of this could be possible without Florian Dehau who originally created tui-rs which inspired many Rust TUIs.

Special thanks to Pavel Fomchenkov for his work in designing an awesome logo for the Ratatui project and organization.

License

This project is licensed under the MIT License.