Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 991 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 991 Bytes

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))
});