#termion #TUI #UI #Cursive

cursive_buffered_backend

The buffering backend for any Cursive backend

3 releases (breaking)

✓ Uses Rust 2018 edition

0.3.0 May 14, 2019
0.2.0 Apr 19, 2019
0.1.0 Dec 19, 2018

#4 in #termion

28 downloads per month

MIT license

16KB
331 lines

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

Dependencies

~5MB
~95K SLoC