#termion #tui #ui #cursive

cursive_buffered_backend

The buffering backend for any Cursive backend

11 unstable releases

new 0.6.0 Jan 11, 2022
0.6.0-alpha.0 Aug 20, 2021
0.5.0 Feb 26, 2021
0.4.1 Jun 17, 2020
0.1.0 Dec 19, 2018

#61 in Command-line interface

Download history 212/week @ 2021-09-28 183/week @ 2021-10-05 343/week @ 2021-10-12 421/week @ 2021-10-19 341/week @ 2021-10-26 352/week @ 2021-11-02 247/week @ 2021-11-09 227/week @ 2021-11-16 275/week @ 2021-11-23 341/week @ 2021-11-30 278/week @ 2021-12-07 236/week @ 2021-12-14 196/week @ 2021-12-21 248/week @ 2021-12-28 177/week @ 2022-01-04 273/week @ 2022-01-11

924 downloads per month
Used in 9 crates (8 directly)

MIT license

16KB
330 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
~74K SLoC