Crates.io | bevy_ratatui |
lib.rs | bevy_ratatui |
version | |
source | src |
created_at | 2024-02-27 06:44:49.880545 |
updated_at | 2024-12-02 03:04:22.282508 |
description | A Bevy plugin for building terminal user interfaces with Ratatui |
homepage | |
repository | https://github.com/joshka/bevy_ratatui |
max_upload_size | |
id | 1154604 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
An experiment using Ratatui from within a Bevy app. Note that this library is explicitly unstable and will break compatibility between 0.x versions.
The goal of this (at least to start) is not to do any rendering / 3D / etc. in the terminal, but just to see how useful it is to use the bevy concepts for apps. This may change over time.
This app demonstrates:
RatatuiContext
resource to draw widgets to the terminalEvent
s to communicateState
s to add logic that runs on transition (e.g. changing the background color when
going from Negative to Positive in a simple counter app)cargo run --example demo
Keys:
bevy | bevy_ratatui |
---|---|
0.15 | 0.7 |
0.14 | 0.6 |
0.13 | 0.5 |
Terminal
as a Bevy SubApp. It's possible that this would allow rendering
to happen while the main app is continuing to runPreviously there was another crate using this name which has since migrated to ratatui_egui_wasm. A ratatui backend that is also an egui widget. Deploy on web with WASM or ship natively with bevy, macroquad, or eframe. Demo at https://gold-silver-copper.github.io/
Copyright (c) Josh McKinney
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.