#tui #ui #terminal #cli

filetreelist

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

8 releases (4 breaking)

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

#495 in GUI

Download history 214/week @ 2024-01-20 194/week @ 2024-01-27 190/week @ 2024-02-03 214/week @ 2024-02-10 804/week @ 2024-02-17 495/week @ 2024-02-24 332/week @ 2024-03-02 310/week @ 2024-03-09 332/week @ 2024-03-16 308/week @ 2024-03-23 238/week @ 2024-03-30 221/week @ 2024-04-06 242/week @ 2024-04-13 169/week @ 2024-04-20 176/week @ 2024-04-27 184/week @ 2024-05-04

806 downloads per month
Used in gitui

MIT 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