shooter74 / DiskUsageInteractive

Interactive disk usage utility for linux terminals.
1 stars 0 forks source link

Camembert #3

Open shooter74 opened 2 years ago

shooter74 commented 2 years ago

Make a colored pie-chart on the right side of the screen representing the largest 6 entries + all the rest of the folder in white. There are only 8 colors, black included. Also add the colors to the corresponding lines. Make it togglable through command-line arguments and key press.

shooter74 commented 2 years ago

split the screen in two buffers : the "left" and "right" buffers.

The first 2 lines and the last line are only filled in the left buffer, and cover the whole screen length-wise. We draw both buffers side-by-side everytime. When the graph is not enabled, the right buffer is comprised of empty lines.