#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

#480 in GUI

Download history 201/week @ 2024-08-23 147/week @ 2024-08-30 189/week @ 2024-09-06 183/week @ 2024-09-13 194/week @ 2024-09-20 406/week @ 2024-09-27 268/week @ 2024-10-04 240/week @ 2024-10-11 233/week @ 2024-10-18 239/week @ 2024-10-25 226/week @ 2024-11-01 188/week @ 2024-11-08 189/week @ 2024-11-15 151/week @ 2024-11-22 150/week @ 2024-11-29 405/week @ 2024-12-06

912 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

~225–680KB
~16K SLoC