| Crates.io | cursive-cached-text-view |
| lib.rs | cursive-cached-text-view |
| version | 0.1.1 |
| created_at | 2023-04-18 20:53:10.563545+00 |
| updated_at | 2023-04-18 21:16:30.570022+00 |
| description | An implementation of Cursive's TextView that caches the rows |
| homepage | https://github.com/night-crawler/cursive-cached-text-view |
| repository | https://github.com/night-crawler/cursive-cached-text-view |
| max_upload_size | |
| id | 842868 |
| size | 18,011 |
A drop-in replacement for TextView with row cache. With complex layouts and thousands of rows,
this can improve performance significantly.
use cursive_cached_text_view::CachedTextView;
fn main() {
let mut view = CachedTextView::new("sample", 5);
// the rest is the same as TextView
}