Skip to content

ur-fault/fyodor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Renderer

Double buffered terminal renderer for Rust and crossterm and simple UI framework (if you can call it that)

Caution

Do NOT use this, not ready for any kind of use yet.

Why ?

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.

How ?

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.

What this is not ?

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.

Features

  • Double buffering
  • Frames (basically rect with pos and size which can be clipped or not)
  • Multiplatform
  • Basic UI elements
  • Layers

Examples

You can find them in the examples folder as with other rust projects.

About

Double buffered terminal renderer for Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages