Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 530 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 530 Bytes

Simple template

The simple template will create the following project structure:

src/
├── app.rs     -> holds the state and application logic
├── event.rs   -> handles the terminal events (key press, mouse click, resize, etc.)
├── handler.rs -> handles the key press events and updates the application
├── lib.rs     -> module definitions
├── main.rs    -> entry-point
├── tui.rs     -> initializes/exits the terminal interface
└── ui.rs      -> renders the widgets / UI