| Crates.io | rat-salsa |
| lib.rs | rat-salsa |
| version | 4.0.2 |
| created_at | 2024-06-10 18:29:37.64972+00 |
| updated_at | 2026-01-06 08:20:30.557869+00 |
| description | ratatui widgets and a crossterm event-loop |
| homepage | |
| repository | https://github.com/thscharler/rat-salsa |
| max_upload_size | |
| id | 1267458 |
| size | 427,603 |
Runs an application event-loop for ratatui and crossterm.
It can
All incoming events are converted to an application defined event-type, and are distributed by calling an event-handler function. This function returns a control-flow which dictates further actions.
rat-widget widget library. Incorporates everything below, but each crate can be used on its own too.
Foundational crates
Crates for specific widgets
And my 10ct on theming.
The examples directory contains some examples
async1.rs: Async tasks.
files.rs: Minimal filesystem browser.
half_ui.rs: Inline/Fixed UI.
inline.rs: Inline UI.
life.rs: Game of Life.
links.rs: Terminal hyperlinks.
logscroll.rs: Logfile view and find.
textinput.rs: Example for text input.
themes.rs: Theme show-room.
todo.rs: Simple todo app.
turbo.rs: Reboot Turbo Pascal.
ultra.rs: Rat-salsa in less than 100loc.
mdedit.rs: Minimal markdown editor.
There are some templates too
