imtui-rs
is a rust crate that provides safe rust bindings for imtui
.
Here is a screenshot of a rust port of the hnterm
example from imtui
:
git clone --recursive https://github.com/visigoth/imtui-rs
cd imtui-rs
cargo build
This example illustrates combining imtui-rs
with tokio
to create a single threaded asynchronous terminal app with an interactive UI.
cargo run --example hnterm
cargo run --example hnterm -- -d