#gui #cli #terminal #ui #tui

filetreelist

filetree abstraction based on a sorted path list, supports key based navigation events, folding, scrolling and more

5 unstable releases

0.3.0 Sep 9, 2021
0.2.0 Jul 10, 2021
0.1.2 Jun 6, 2021
0.1.1 May 28, 2021
0.1.0 May 28, 2021

#1664 in Command line utilities

Download history 308/week @ 2021-06-07 151/week @ 2021-06-14 116/week @ 2021-06-21 100/week @ 2021-06-28 208/week @ 2021-07-05 300/week @ 2021-07-12 136/week @ 2021-07-19 140/week @ 2021-07-26 120/week @ 2021-08-02 96/week @ 2021-08-09 117/week @ 2021-08-16 232/week @ 2021-08-23 87/week @ 2021-08-30 296/week @ 2021-09-06 253/week @ 2021-09-13 167/week @ 2021-09-20

632 downloads per month
Used in gitui

Custom license

1MB
1.5K SLoC

filetreelist

This crate is designed as part of the gitui project.

filetreelist provides a very common functionality of gitui: lists of files visualized as a tree. It allows efficient iteration of only the visual (non collapsed) elements and change the tree state correctly given well defined inputs like Up/Down/Collapse.

It is the main driver behind the file tree feature:

demo

Dependencies