#tui #ui #terminal-file #terminal #cli

filetreelist

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

9 unstable releases

0.5.2 Sep 28, 2024
0.5.1 Feb 21, 2024
0.5.0 Aug 17, 2022
0.4.0 Oct 11, 2021
0.1.1 May 28, 2021

#616 in GUI

Download history 227/week @ 2024-10-26 225/week @ 2024-11-02 180/week @ 2024-11-09 185/week @ 2024-11-16 148/week @ 2024-11-23 140/week @ 2024-11-30 173/week @ 2024-12-07 148/week @ 2024-12-14 129/week @ 2024-12-21 116/week @ 2024-12-28 161/week @ 2025-01-04 425/week @ 2025-01-11 291/week @ 2025-01-18 178/week @ 2025-01-25 177/week @ 2025-02-01 163/week @ 2025-02-08

861 downloads per month
Used in gitui

MIT license

41KB
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

~220–670KB
~16K SLoC