[](https://opensource.org/licenses/MIT)
[](https://crates.io/crates/bevy_ascii_terminal/)
[](https://docs.rs/bevy_ascii_terminal/)
# `Bevy Ascii Terminal`
A simple ascii terminal integrated into bevy's ecs framework.
---

---
The goal of this crate is to provide a simple, straightforward, and hopefully
fast method for rendering colorful ascii in bevy. It was made with "traditional
roguelikes" in mind, but should serve as a simple UI tool if needed.
# Code Example
```rust
use bevy::prelude::*;
use bevy_ascii_terminal::*;
fn setup(mut commands: Commands) {
// Create the terminal and write to it
let mut terminal = Terminal::with_size([20,3]);
terminal.draw_border(BorderGlyphs::single_line());
// Draw a blue "Hello world!" to the terminal
terminal.put_string([1, 1], "Hello world!".fg(Color::BLUE));
// Spawn the terminal bundle from our terminal
commands.spawn_bundle(TerminalBundle::from(terminal))
// Automatically set up the camera for this terminal
.insert(AutoCamera);
}
fn main () {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(TerminalPlugin)
.add_startup_system(setup)
.run();
}
```
## Versions
| 0.8.1 | 0.11.1 |
| 0.8 | 0.11 |
| 0.7 | 0.9-0.10 |
# Project Examples
[](https://sarkahn.github.io/bevy_ascii_snake/)
[](https://sarkahn.github.io/bevy_ascii_snake/)