cursive_buffered_backend-git-branchless

Crates.iocursive_buffered_backend-git-branchless
lib.rscursive_buffered_backend-git-branchless
version0.5.1-pre.2
sourcesrc
created_at2021-08-20 03:14:17.551008
updated_at2021-08-20 03:59:53.475601
descriptionThe buffering backend for any Cursive backend
homepage
repositoryhttps://github.com/agavrilov/cursive_buffered_backend
max_upload_size
id439844
size18,897
Waleed Khan (arxanas)

documentation

README

cursive_buffered_backend

crates.io Build Status MIT licensed

The buffering backend for any Cursive backend. Mainly it is created to address a flickering issue with Termion backend.

Inspired by the comment on the similar issue on Termion itself.

Usage

let mut app = Cursive::try_new(|| {
    let crossterm_backend = backend::crossterm::Backend::init().unwrap();
    let buffered_backend = cursive_buffered_backend::BufferedBackend::new(crossterm_backend);
    Ok(Box::new(buffered_backend))
});

Commit count: 83

cargo fmt