1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Directory Tree
A foldable, keyboard-driven directory tree explorer with lazy child loading, scroll-to-cursor behavior, and ancestor path highlighting. Uses reactive state for the cursor, expanded map, and scroll position, with a watcher to keep the cursor visible as you navigate.

See the full [Directory Tree guide](https://www.go-tui.dev/guide/directory-tree) for a walkthrough of the implementation.
## Run
```bash
go run . [path]
```
If no path is given, the current directory is used.
|