Expand description
Current status: BETA
§rat-salsa
An application event-loop with ratatui and crossterm.

rat-salsa provides
- application event loop run_tui
- background tasks
- timers
- crossterm
- messages
- focus
- control-flow
- traits for
§Book
For a start you can have a look at the book.
§Companion Crates
- rat-widget widget library
- rat-scrolled utilities for scrolling. Included in rat-widget.
- rat-ftable table. uses traits to render your data, and renders only the visible cells. this makes rendering effectively O(1) in regard to the number of rows. Included in rat-widget.
- rat-focus Primitives for focus-handling as used by rat-widget. Included in rat-widget.
- rat-event Defines the primitives for event-handling. Included in rat-widget.
- rat-theme Color-palettes and widget styles.
§Example
The examples directory contains some examples
There are some starters too
- minimal.rs: Minimal application with a menubar and statusbar.
- ultra.rs: Absolute minimum setup.

Modules§
- Event-handler traits and Keybindings.
- Defines the trait for event-sources.
- Defines the trait RenderUI to hide the different rendering backends.
- Support for timers.
Structs§
- Application context data.
- Type for cancellation.
- Application context data when rendering.
- Captures some parameters for crate::run_tui().
Enums§
- Result of event-handling.
Traits§
- AppState packs together the currently supported event-handlers.
- AppWidget mimics StatefulWidget and adds a RenderContext
Functions§
- Run the event-loop