#cursive #termion #tui #ui

yanked cursive_buffered_backend-git-branchless

The buffering backend for any Cursive backend

0.5.1-pre.2 Aug 20, 2021

#19 in #termion

MIT license

16KB
327 lines

cursive_buffered_backend

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

~8.5MB
~140K SLoC