Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 521 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 521 Bytes

Ratatui Simple template

A simple example of a Ratatui application.

This is identical to the simple template but has async events out of the box with tokio and crossterm's EventStream.

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.