#termion #tui #ui #cursive

cursive_buffered_backend

The buffering backend for any Cursive backend

9 unstable releases (4 breaking)

0.5.0 Feb 26, 2021
0.4.1 Jun 17, 2020
0.3.1 Dec 4, 2019
0.3.0 May 14, 2019
0.1.0 Dec 19, 2018

#90 in Command-line interface

Download history 76/week @ 2021-02-26 50/week @ 2021-03-05 64/week @ 2021-03-12 57/week @ 2021-03-19 100/week @ 2021-03-26 96/week @ 2021-04-02 105/week @ 2021-04-09 180/week @ 2021-04-16 399/week @ 2021-04-23 286/week @ 2021-04-30 155/week @ 2021-05-07 158/week @ 2021-05-14 166/week @ 2021-05-21 82/week @ 2021-05-28 90/week @ 2021-06-04 136/week @ 2021-06-11

555 downloads per month
Used in 7 crates (6 directly)

MIT license

16KB
328 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

~4MB
~78K SLoC