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.
- Double buffering
- Frames (basically rect with pos and size which can be clipped or not)
- Multiplatform
- Basic UI elements
- Layers
You can find them in the examples
folder as with other rust projects.