Skip to content

Latest commit

 

History

History

simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Ratatui Simple template

The simple template will create the following project structure:

src/
├── app.rs     -> holds the state and application logic
├── main.rs    -> entry-point

Design choices

We have a small App struct that has a main loop that calls methods to handle events and draw the ui. The app can be quit by pressing any of Q/Esc/Ctrl+C.

We use color-eyre for simplifying any errors that need to be reported to the console.