Crates.io | fiadtui |
lib.rs | fiadtui |
version | 0.9.0 |
source | src |
created_at | 2023-10-26 06:59:36.042879 |
updated_at | 2023-10-30 10:28:43.660346 |
description | Simple TUI event loop for ratatui with tokio and crossterm |
homepage | |
repository | https://github.com/fiadliel/fiadtui |
max_upload_size | |
id | 1014177 |
size | 39,888 |
Simple TUI wrapper for ratatui with tokio and crossterm.
The classic counter (press +
to increment, -
to decrement).
cargo run --example counter
Demonstrates the use of asynchronous message handlers.
Similar to the counter application, but updates the counter value asynchronously after 1 second. Further updates are dropped while any existing update is pending.
cargo run --example delayed_counter
Demonstrates the use of a channel created externally.
A Tick
message is sent every 500ms to the app, from external code.
cargo run --example tick