13 releases
0.6.2 | Aug 8, 2024 |
---|---|
0.6.1 | Aug 6, 2022 |
0.6.0 | Jan 11, 2022 |
0.6.0-alpha.0 | Aug 20, 2021 |
0.1.0 | Dec 19, 2018 |
#272 in Command-line interface
1,950 downloads per month
Used in 18 crates
(14 directly)
17KB
325 lines
cursive_buffered_backend
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 backend_init = || -> std::io::Result<Box<dyn cursive::backend::Backend>> {
let backend = cursive::backends::termion::Backend::init()?;
let buffered_backend = cursive_buffered_backend::BufferedBackend::new(backend);
Ok(Box::new(buffered_backend))
};
let mut app = Cursive::new();
app.try_run_with(backend_init).ok()?;
Dependencies
~7MB
~119K SLoC