cursive_tree_view
cursive_tree_view copied to clipboard
A tree view implementation for cursive.
This fixes the bug reported here: https://github.com/BonsaiDen/cursive_tree_view/issues/20
Hi, would be nice to have an implementation for building a TreeView from a Walkdir iterator, possibly more flexible than just `From` because of custom filtering and so on.
https://github.com/BonsaiDen/cursive_tree_view/blob/e37b9b3668ec6ce658b153769d585193ae99f83c/src/lib.rs#L401 When container is fully emptied by calling `remove_item(row)` subtraction overflow happens. This happens only in debug mode due to additional Rust checks!
I notice you have a take_items method that I need to grab the data from the tree. Is it possible to grab the data with draining the values ? I...
Hello, I'm using your crate, it's awesome! I have a question: Is it possible to use strings bigger than screen size as items? For now, such strings are cut at...
Would you be interested in an enhancement that brings much of the functionality of examples/file.rs into a new View implementation (still based on TreeView)? Might be up for making this...
Would be awesome to have a `From` implementation for `TreeView`.
This is useful for creating custom handlers, if the row is collapsed or not
Fixes #27 Added a new test-case for using a node after its children were removed
If a node is collapsed, and its children is removed, and others are added, then the node is uncollapsed the program crashes. Example program: ```rust use cursive_tree_view::{Placement, TreeView}; fn main()...