#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

#473 in GUI

Download history 136/week @ 2024-07-29 154/week @ 2024-08-05 152/week @ 2024-08-12 193/week @ 2024-08-19 167/week @ 2024-08-26 146/week @ 2024-09-02 197/week @ 2024-09-09 187/week @ 2024-09-16 366/week @ 2024-09-23 255/week @ 2024-09-30 248/week @ 2024-10-07 266/week @ 2024-10-14 239/week @ 2024-10-21 222/week @ 2024-10-28 241/week @ 2024-11-04 155/week @ 2024-11-11

892 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

~250–710KB
~17K SLoC