liveterm

Crates.ioliveterm
lib.rsliveterm
version0.3.0
sourcesrc
created_at2021-02-01 04:29:19.817172
updated_at2021-06-27 09:32:47.648079
descriptionSimple live-updating output for CLI apps
homepage
repositoryhttps://git.sr.ht/~asayers/liveterm
max_upload_size
id349125
size19,058
CI (github:colearn-dev:ci)

documentation

README

Liveterm

Print stuff to the terminal, remove it, repeat!

Here's how to use it:

let mut tp = TermPrinter::new(std::io::stdout());
for i in 0..10 {
    tp.clear()?;              // clear what we draw last time
    tp.buf.clear();           // clear the buffer
    write!(tp.buf, "{}", i)?; // fill the buffer
    tp.print()?;              // draw the buffer
}
Commit count: 0

cargo fmt