cursive-cached-text-view

Crates.iocursive-cached-text-view
lib.rscursive-cached-text-view
version0.1.1
sourcesrc
created_at2023-04-18 20:53:10.563545
updated_at2023-04-18 21:16:30.570022
descriptionAn implementation of Cursive's TextView that caches the rows
homepagehttps://github.com/night-crawler/cursive-cached-text-view
repositoryhttps://github.com/night-crawler/cursive-cached-text-view
max_upload_size
id842868
size18,011
Igor (night-crawler)

documentation

README

cursive-cached-text-view

crates.io Rust MIT licensed

A drop-in replacement for TextView with row cache. With complex layouts and thousands of rows, this can improve performance significantly.

Example

use cursive_cached_text_view::CachedTextView;

fn main() {
    let mut view = CachedTextView::new("sample", 5);
    // the rest is the same as TextView
}
Commit count: 4

cargo fmt