Crates.io | fyodor |
lib.rs | fyodor |
version | 0.4.0 |
source | src |
created_at | 2023-11-30 14:12:35.847998 |
updated_at | 2023-12-09 20:59:34.426666 |
description | Double buffered terminal renderer for Rust |
homepage | |
repository | |
max_upload_size | |
id | 1054180 |
size | 73,585 |
Double buffered terminal renderer for Rust and crossterm and simple UI framework (if you can call it that)
Do NOT use this, not ready for any kind of use yet.
I needed a simple way to render terminal based games. At first I was using masof by da-x (which this project is heavily inspired by and some code is a little too much similar to) but I wanted to have a more flexible way to render the screen. So I decided to write my own.
The simplest way to use this is to create a Renderer
, feed it events from crossterm, draw Drawable
objects to it and finally render it to the terminal.
This project started as just renderer, but it evolved into a simple UI framework or something like that. Though it does not handle input and such, it just provides a way to draw UI elements to the screen. But included UI elements consume crossterm events and work with them.
You can find them in the examples
folder as with other rust projects.