Developed by Christian Visintin
Current version: 0.1.0 (06/06/2021)
tui-realm-treeview is an implementation of a treeview component for tui-realm, it is implemented wrapping the tui-tree-widget
toml
tui-realm-treeview = "0.1.0"
View how to use the treeview-component following the example. The example contains a simple file explorer using a tree view, the depth is set to 3.
sh
cargo run --example demo
ENTER
to change directoryBACKSPACE
to go to upper directoryUP/DOWN
arrow keysRIGHT
LEFT
TAB
ESC
to quitIn this library there is a consistent use of recursion, and since rust is not functional, this might lead to stack overflows when dealing with huge trees. In addition consider that each level of depth added, will slow down the application exponentially.
Best practices:
The developer documentation can be found on Rust Docs at https://docs.rs/tui-realm-treeview
Contributions, bug reports, new features and questions are welcome! 😉 If you have any question or concern, or you want to suggest a new feature, or you want just want to improve tui-realm, feel free to open an issue or a PR.
Please follow our contributing guidelines
View tui-realm-treeview's changelog HERE
If you like tui-realm-treeview and you're grateful for the work I've done, please consider a little donation 🥳
tui-realm is licensed under the MIT license.
You can read the entire license HERE