Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File tree TUI

The goal of this project is to build a TUI in C to display a file tree, inspired by the tree command or lsd –-tree. It allows the user to collapse directories they don’t want to view, similar to the file tree structure in standard IDEs.

If you’re here, please note that this project does not simply display the file tree like the tree command. Instead, it creates a custom TUI experience.

I'm mainly building this for myself. I want to use this as an exercise, and the goal usage is with the helix editor and zellij. later on I will put some images to let y'all see how it looks like, both alone and with my zellij layout.

*sad hamster.png*

This project is NOT FINISHED YET

ToDo list:

  • Add support for dir's links.
  • Make the damn selection blink
  • Avoid flickering when an edit occurs.
  • Add icons (potentially by adapting code from this file)
  • Add args (like -all, -icons, -colors, -closed, -opened, -sort)
  • Add sort types
  • Add config file (with default closed dirs for example)
  • Add system calls to update the TUI if something changes and for displaing if a file is modified somewhere

Later on:

  • add commands to do some operations in the tree, such as: rename, touch, trash, delete, move, copy, paste, cut.

build

build with make command

About

A Terminal UI built in C for emulating the IDEs file tree

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages