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

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

#778 in GUI

Download history 159/week @ 2024-11-20 147/week @ 2024-11-27 153/week @ 2024-12-04 166/week @ 2024-12-11 140/week @ 2024-12-18 97/week @ 2024-12-25 158/week @ 2025-01-01 188/week @ 2025-01-08 490/week @ 2025-01-15 205/week @ 2025-01-22 171/week @ 2025-01-29 197/week @ 2025-02-05 179/week @ 2025-02-12 215/week @ 2025-02-19 174/week @ 2025-02-26 181/week @ 2025-03-05

780 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–670KB
~16K SLoC