fiadtui

Crates.iofiadtui
lib.rsfiadtui
version0.9.0
sourcesrc
created_at2023-10-26 06:59:36.042879
updated_at2023-10-30 10:28:43.660346
descriptionSimple TUI event loop for ratatui with tokio and crossterm
homepage
repositoryhttps://github.com/fiadliel/fiadtui
max_upload_size
id1014177
size39,888
Gary Coady (fiadliel)

documentation

README

Docs Docs

fiadtui

Simple TUI wrapper for ratatui with tokio and crossterm.

Example usage

Counter application

The classic counter (press + to increment, - to decrement).

Link

cargo run --example counter

Delayed counter application

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.

Link

cargo run --example delayed_counter

External tick application

Demonstrates the use of a channel created externally.

A Tick message is sent every 500ms to the app, from external code.

Link

cargo run --example tick
Commit count: 27

cargo fmt